Link to home
Start Free TrialLog in
Avatar of andifenner
andifenner

asked on

Rich Text & GDI/GDI+

Hi. I have a Rich Text box which is used to take input from the user, and provides some text formatting options such as bold.

Is there any way I can output the contents of this to the GDI? I.e. the equivalent of a DrawString() function with a rectangle boundry; but one that supports bold/italics etc?

I've tried writing a basic function that wraps text and calls DrawString multiple times with different font styles but its never quite worked properly and I'm running out of time [and patience] here.

Cheers.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial