We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DrawImage Crashing for metafile

Thread ID:

Created:

Updated:

Platform:

Replies:

30372 Jun 16,2005 02:55 PM Jun 21,2005 08:42 AM Windows Forms 2
loading
Tags: PDF
Vijay P
Asked On June 16, 2005 02:55 PM

Hi, I need help! I am trying to open a meta file and insert it into a PDF file. I am using VC++ to do it. Problem is, it crashes on calling "pPDF->LastPage->Graphics->DrawImage". I am attaching the source and the sample emf file. Can you please help me out? thanks Vijay meta_error_2712.zip

Vijay P
Replied On June 16, 2005 02:59 PM

Oh I forgot to add. This code saves the PDF if I use the bit map instead of the metafile. But the BMP resolution is very poor. >Hi, > >I need help! I am trying to open a meta file and insert it into a PDF file. I am using VC++ to do it. Problem is, it crashes on calling >"pPDF->LastPage->Graphics->DrawImage". I am attaching the source and the sample emf file. > >Can you please help me out? > >thanks >Vijay > > >meta_error_2712.zip > >

Administrator [Syncfusion]
Replied On June 21, 2005 08:42 AM

Hi Vijay, Sorry for the delay in getting back to you. I am afraid, the current version of Essential PDF does not have support for embedding Metafiles. The current metafiles support is limited to extracting text in metafiles and rendering it in PDF, but the remaining portion is just converted to a bitmap image and inserted into the PDF document. However, we are working on adding support to insert vector graphic images and it will be available in the next release [3 weeks time]. Thank you for your patience. Best regards, Stephen. >Oh I forgot to add. This code saves the PDF if I use the bit map instead of the metafile. But the BMP resolution is very poor. > >>Hi, >> >>I need help! I am trying to open a meta file and insert it into a PDF file. I am using VC++ to do it. Problem is, it crashes on calling >>"pPDF->LastPage->Graphics->DrawImage". I am attaching the source and the sample emf file. >> >>Can you please help me out? >> >>thanks >>Vijay >> >> >>meta_error_2712.zip >> >>

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;