I have a document that requires a line that has a users name. They need to sign there name after this. The line spacing must stay constant. Is there a way to underline an entire paragraph or table cell? I realize that I can use the FormattedTextArea with a FormattedTextAreaStyle that preserves white space. However, when the user's name length changes, the line will become shorter/longer.
For example,
___John Doe______________________,
___Bill Harrison_______________________,
In IE the following would work.
<table><tr><td style="BORDER-BOTTOM: black 1px solid;" width=200>John Doe</td></tr></table>
Talk to you soon.
Jason
Underline white space consistently
Re: Underline white space consistently
Support · Mar 20, 2007Hello Jason,
Yes, you can write text with the line as you mentioned without any problem. If you know the total width(name + the line) then you can draw a line after the name by finding the width of the text. You can get the text(name) width by using the GetTextWidth method of the font class. Then you will have to remove this width from the total width, then draw the line of this length.
You can use the underline tag to underline the text in the FormattedTextArea.
Thanks,
ceTe Software Support Team.