Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing underlined blanks

Status
Not open for further replies.

ryDen

Programmer
Jun 6, 2002
71
AP
Hi,

I am currently trying to print text from a RichBox control by printing character by character. However, I am having problem printing underlined blanks, i.e., an underlined sentence has broken lines. I have tried to resolve this by drawing a line where an underlined space is required, but I am lost at how to "convert" the font size to the width of the pen to draw the line. Would appreciate if someone could help me out here.

Thanks.

Regards,
Russ
 
There is an ASCII underline character, you could try printing it. Not sure which character number it is, but if you can find an ASCII chart in the help you should be able to find it.

-Rick

----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top