Text Wrap Break Control

Stimulsoft Reports.NET discussion
Post Reply
TimWoods
Posts: 10
Joined: Thu Mar 27, 2014 9:56 pm

Text Wrap Break Control

Post by TimWoods »

I have a text box that contains several names and is allowed to text wrap. Some of the names are hyphenated (i.e. Mary Anderson-Smith). I want to prevent the text wrap from wrapping at the hyphen. How do I specify that it break only at spaces and not hyphens?

Example:

Instead of this:

Andy Smith John Smith Mary Anderson-
Smith

I need it to look like this:

Andy Smith John Smith Mary
Anderson-Smith

It can wrap at the space, but not at a hyphen.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Text Wrap Break Control

Post by Alex K. »

Hello,

Please try to use the character 'NON-BREAKING HYPHEN'
for example:
"Mary Anderson{(char)8209}Smith"

http://www.fileformat.info/info/unicode ... /index.htm

Thank you.
Post Reply