PrintDocument: Need to mix Bold and Default text

  • Thread starter Thread starter Bryan Valencia
  • Start date Start date
B

Bryan Valencia

Guest
Using PrintDocument, I can draw strings using DrawString all day long, but now I need Bold+Italics AND default PLUS wordwrap in a single block of text. Like this:

Header: this is

some data. warning:

this is a warning


Note the mixed nature of the font styles.

Is there a way to create a wrappable text block with mixed Fonts and have it all wrap by itself, or am I in for a nightmare of parsing my text and measuring everything?

This is NOT an onscreen label, it's a Printed Document (PrintDocument)


I'd rather live with false hope than with false despair.

Continue reading...
 
Back
Top