Word wrap

Stimulsoft Reports.NET discussion
Post Reply
BG71
Posts: 6
Joined: Tue Feb 16, 2010 8:28 am
Location: Belgium

Word wrap

Post by BG71 »

Hi,

Does an option exist to determine after which characters Text Fields are wrapped?

For example, it happens that the full stop at the end of a sentence is showed on the next line. In this case we'd prefer to see the entire last word together with the full stop on this next line.

Also, we'd like to define some characters after which we 'preferably' wrap the sentence, if possible ordered by preference (e.g. +-,')].;:!?/\ ).

The wrapping in Rich Text Fields happens in a different way, but it's not entirely clear in what way this exactly might be...
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Word wrap

Post by Jan »

Hello,
Does an option exist to determine after which characters Text Fields are wrapped?
Unfortunately this is not possible. You need use " character in any case.
For example, it happens that the full stop at the end of a sentence is showed on the next line. In this case we'd prefer to see the entire last word together with the full stop on this next line.

Also, we'd like to define some characters after which we 'preferably' wrap the sentence, if possible ordered by preference (e.g. +-,')].;:!?/\ ).
Our report engine use GDI Plus for drawing text. We can't control how it wrap text.
The wrapping in Rich Text Fields happens in a different way, but it's not entirely clear in what way this exactly might be...
In this case for outputting text used MS dll - Riched20.dll. This is why it output text in other way.

Thank you.
Post Reply