?
Solved

Rich Text & GDI/GDI+

Posted on 2005-03-07
3
Medium Priority
?
391 Views
Last Modified: 2008-03-04
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
Comment
Question by:andifenner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1400 total points
ID: 13475999
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question