Some test text!

Convert PDF to multiple format types

Contents

About converting from PDF

To convert PDF documents to different format types.

Formats include BMP, EMF, JPEG, PNG, TIF, XPS, XOD, HTML, EPUB, SVG, EMF.
PDFDoc doc(filename);

// Convert PDF document to SVG
Convert::ToSvg(doc, output_filename + ".svg");

// Convert PDF document to XPS
Convert::ToXps(filename, output_filename + ".xps");

// Convert PDF document to multipage TIFF
Convert::TiffOutputOptions tiff_options = new Convert::TiffOutputOptions();
tiff_options.SetDPI(200);
tiff_options.SetDither(true);
tiff_options.SetMono(true);
Convert::ToTiff(filename, output_filename + ".tiff", tiff_options);

// Convert PDF to XOD
Convert::ToXod(filename, output_filename + ".xod");

// Convert PNG to HTML
Convert::ToHtml(filename, output_filename + ".html");

// Convert XPS to EPUB
Convert::ToEpub(filename, output_filename + ".epub");

PDF Converter (SVG, XPS, TIFF, JPG, RTF, TXT, More)
Full sample code which shows how to use PDFNet Convert for direct, high-quality conversion between PDF, XPS, EMF, SVG, TIFF, PNG, JPEG, and other image formats.

linkAbout converting from PDF

The PDFtron SDK also supports converting from PDF to other formats like EMF, EPUB, XOD, HTML and XPS. In addition to the document formats, exporting to image formats like TIFF, SVG, PNG and JPEG are supported too. Keeping high level structures in a document intact, when converting from PDF to other document formats is of primary importance. This may seem trivial, however there are many instances when structure extraction from a PDF document is not completely satisfactory. As part of our efforts at PDFTron, to do this better we have created a tool called PDFGenie - a command-line utility for extracting tables and text from existing PDF documents as HTML or XML.

Get the answers you need: Support

Contents

About converting from PDF