Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

pictures from RTF document

Posted on 2002-05-22
2
Medium Priority
?
218 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 800 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

916 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