pictures from RTF document

hi
i have an application witch generates RTF documents.
Is there a way to convert these RTF documents to pictures? gif or jpeg formats ??

please advise

thanks
LVL 3
dragoshAsked:
Who is Participating?
 
Roshan DavisConnect With a Mentor Commented:
Set the RTF to a Richedit control.
U will get the FORMATRANGE structure from the richedit.
That structure contains the dc of the text.

U can convert this dc into bitmap ( U can find this on MSDN Samples ) or to any other file types ( Using IPicture Interface )

GOOD LUCK
0
 
dragoshAuthor Commented:
roshmon: 10x for your tips, i'm giving the points to you

rgds
0
All Courses

From novice to tech pro — start learning today.