ZEONPADPDF API Documentation

Download Developer API Guide

GenericConvertor

This object is used to convert Word, Excel, PowerPoint, Publisher, Visio, Outlook, AutoCad, Images, Text, Html to PDF.

// Create an Object
GenericConvertor genericConv =new GenericConvertor();
// Covert to Pdf
genericConv.convert("C:\\Users\\Desktop\\input.doc","C:\\Users\\Desktop\\output.pdf");


WordToPdf

This object is used to convert ms-word document to pdf. This object contains many ms-word related features. WordToPdf only works with Word 2007 or higher version. Only Word 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft.

// Create an Object
WordToPdf wordToPdf = new WordToPdf();
// Covert to Pdf
wordToPdf.convert("C:\\Users\\Desktop\\input.docx","C:\\Users\\Desktop\\output.pdf");


ExcelToPdf

This object is used to convert Microsoft Excel to pdf. This object contains many Microsoft Excel related features. ExcelToPdf only works with Microsoft Excel 2007 or higher version. Only Excel 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft.

// Create an Object
ExcelToPdf excelToPdf = new ExcelToPdf();
// Covert to Pdf
excelToPdf.convert("C:\\Users\\Desktop\\input. xls","C:\\Users\\Desktop\\output.pdf");


PptToPdf

This object is used to convert Microsoft PowerPoint to pdf. PptToPdf only works with Microsoft PowerPoint 2007 or higher version. Only PowerPoint 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft.

// Create an Object
PptToPdf pptToPdf = new PptToPdf();
// Covert to Pdf
pptToPdf.convert("C:\\Users\\Desktop\\input.pptx","C:\\Users\\Desktop\\output.pdf");


PublisherToPdf

This object is used to convert Microsoft Publisher to pdf. PublisherToPdf only works with Microsoft Publisher 2007 or higher version. Only Publisher 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft.

// Create an Object
PublisherToPdf publisherToPdf = new PublisherToPdf();
// Covert to Pdf
publisherToPdf.convert("C:\\Users\\Desktop\\input.pub", " C:\\Users\\Desktop\\output.pdf");


OutlookToPdf

This object is used to convert Microsoft Outlook to pdf.

// Create an Object
OutlookToPdf outlookToPdf = new OutlookToPdf();
// Covert to Pdf
outlookToPdf.convert("C:\\Users\\Desktop\\input.msg", "C:\\Users\\Desktop\\output.pdf");


VisioToPdf

This object is used to convert Microsoft Visio to pdf. VisioToPdf only works with Microsoft Visio 2007 or higher version. Only Visio 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft.

// Create an Object
VisioToPdf visioToPdf = new VisioToPdf();
// Covert to Pdf
visioToPdf.convert("C:\\Users\\Desktop\\input.vsd", "C:\\Users\\Desktop\\output.pdf");


ImageToPDF

This object is used to convert images into PDF.

// Create an Object
ImageToPDF imageToPdf = new ImageToPDF();
// Covert to Pdf
imageToPdf.convert("C:\\Users\\Desktop\\input.jpg", "C:\\Users\\Desktop\\output.pdf");