PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

EMF to PDF as vector image

EMF is the Windows Meta file file format for images. More information on this file format can be found here. One of the advantages of the Windows Meta File is, that it is vector based and therefor the images are scalable. With the PDFkit tool it is possible to convert these EMF images to PDF or to include them in a PDF while preserving the scalability.

Sample: Convert EMF to PDF with MetafileShape

string intput = @"input.emf";
string output = @"output.pdf";

TallComponents.PDF.Shapes.MetafileShape shape = new TallComponents.PDF.Shapes.MetafileShape(input);
TallComponents.PDF.Document doc = new TallComponents.PDF.Document();
TallComponents.PDF.Page page = new TallComponents.PDF.Page(shape.Width, shape.Height);


using (var file = new FileStream(output, FileMode.Create))

In rare and unforseeable occasions, these images may not be converted correctly. In that case it is possible to include the images in PDF as raster images.

Download PDFKit.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.