Text-Wrap only without Wrapping words

Stimulsoft Reports.NET discussion
Post Reply
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Text-Wrap only without Wrapping words

Post by IskandarAir »

Dear Stimulsoft team,

We are facing issue with wrapping text content. We dont want to "DIVIDE" word but only divide text by words. However, we cant achieve one without another. I have attached screenshots. Please indicate how can we divide text without dividing word?
Code snippets:

Code: Select all


                        stiText.HideZeros = blankIfZero;
                        stiText.CanGrow = true;
                        stiText.WordWrap = true;
                        stiText.ShrinkFontToFit = true;
Regards,
Iskandar Anvarov
Attachments
SceenShots
SceenShots
wordWrap2.PNG (50.54 KiB) Viewed 1740 times
SceenShots
SceenShots
wordWrap.PNG (39 KiB) Viewed 1740 times
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Re: Text-Wrap only without Wrapping words

Post by IskandarAir »

Dear Stimulsoft team,

Could you please reply. Really needed

Regards,
Iskandar
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Text-Wrap only without Wrapping words

Post by Edward »

Hi Iskandar,

Please try to increase the width of the textbox or to reduce the initial font size so the longest possible word can fit there. When possible, the engine will do a word wrap taking the existing whitespace symbol into consideration, otherwise, the word break is unavoidable for now, unfortunately.

https://www.stimulsoft.com/en/documenta ... operty.htm

Alternatively, you would need to set the Wordwrap = false.

Thank you,
Edward
Post Reply