Line breaks in TextArea

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for Java (v4)  /  Line breaks in TextArea

DynamicPDF Generator for Java (v4) Forum

 Sep 03 2008 1:20 PM
I am building a TextArea using text which can contain phone numbers and/or email addresses with hyphens.  These strings are sometimes broken at the hyphen and continued on the next line.  I would prefer that the entire phone number or email address be on one line.  Is there any way to disable line breaks on hyphens?

David
 Sep 03 2008 1:39 PM
Posted by a ceTe Software moderator
Hello David,

You will have to parse the entire string and replace the hyphens with the unicode value for the hyphen. That way it will not cause the strings to break at the hyphen.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 1:47 AM.