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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

rendering WMF

Thread ID:





88613 Aug 2,2009 10:36 PM UTC Aug 3,2009 11:31 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Byron Walker
Asked On August 2, 2009 10:36 PM UTC


Im trying to render a WMF image onto a PDF but the image isnt rendering as it should.

Please have a look at the attached PDF, and the WMF a let me know why its rendering with jagged edges.

Here is the code that generates the PDF.

public void wmf_test()
var pdf = new PdfDocument();
pdf.PageSettings.Margins.All = 0;

string imagesDirectory = ConfigurationManager.AppSettings["project_path"] + "src/app/content/images/";

var toyotaLogo = PdfImage.FromFile(imagesDirectory + "genuinelogo_white.wmf");
pdf.Pages[0].Graphics.DrawImage(toyotaLogo, 10, 10, toyotaLogo.PhysicalDimension.Width, toyotaLogo.PhysicalDimension.Height);

string fileName = ConfigurationManager.AppSettings["project_path"] + "temp/" + "eps_test.pdf";



Sri Subhashini M [Syncfusion]
Replied On August 3, 2009 11:31 AM UTC

Hi Byron,

Thank you for your interest in Essetial PDF.

Drawing Emf images

I was able to reproduce the issue which you mentioned here. And, this is not a control issue. The given image contains jagged edges. Please do find the sample screen shot which shows jagged edges in the image and let me know if you need any information,



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon