Solved

pictures from RTF document

Posted on 2002-05-22
2
213 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:dragosh
2 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 200 total points
ID: 7026995
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
 
LVL 3

Author Comment

by:dragosh
ID: 7106886
roshmon: 10x for your tips, i'm giving the points to you

rgds
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 170
haveThree challenge 22 121
Capture logon name 13 87
Increment column based of a FK 8 31
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

861 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