Page 1 of 1

Text-Wrap only without Wrapping words

Posted: Tue Nov 14, 2017 3:47 pm
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

Re: Text-Wrap only without Wrapping words

Posted: Wed Nov 15, 2017 11:18 am
by IskandarAir
Dear Stimulsoft team,

Could you please reply. Really needed

Regards,
Iskandar

Re: Text-Wrap only without Wrapping words

Posted: Thu Nov 16, 2017 4:15 am
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