C++ Library to convert emf to pdf

Good morning,

My company is developing a windows software that print reports (and a lot of other things).

For the report we create emf files, so the can be show on screen and printed without re-calculate all report.

Our problem is convert these files in pdf, we are looking for a library that allow us to takes these emf files and put it inside one pdf.

I see your command line tool emf2pdf,

http://www.verypdf.com/app/metafile-to-pdf-converter/index.html

It works very well with our prints.

Is there a EMF to PDF Converter SDK version for C/C++?

Many thanks,
Customer
---------------------------------

image
Thanks for your message, yes, we have a EMF to PDF Converter SDK for C++ product.

btw, you can also call emf2pdf.exe from VC++ source code easily, for example,

#include "stdafx.h"
#include "string"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
    string command = "D:\\VeryPDF\\emf2pdf.exe D:\\test.emf D:\\out.pdf";
    system(command.c_str());

    return 0;
}

VeryPDF

File extension: .EMF
Category: Image File
Description: EMF (Enhanced Metafile) is a spool image file format, which is configured for 32-bit OSs. This device-independent format is supported by a number of Windows-based applications. If you take a snapshot and save it in this format, its dimensions will remain unchanged in any device. EMF files consist of so called records, which reflect dimensions, initial resolution, metafile’s bulk, GDI (graphics device interface) functions, etc. EMF descended from the 16-bit WMF.
Associated programs: Microsoft Publisher, Microsoft Word, QuarkXPress
Developed by: Microsoft
MIME type: image/x-emf
Useful links: More detailed information on EMF files, https://en.wikipedia.org/wiki/Windows_Metafile

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)

Related Posts

This entry was posted in Metafile to PDF and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!