Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

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.
0
andifenner
Asked:
andifenner
1 Solution
 
Bob LearnedCommented:
I wish there were, it would have made my job 10 times easier.  I tried to roll my own, but the complexity of the RichText format, and the lack of reference material, made the task virtually impossible and unprofitable for me.

Bob
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now