How to Convert a Document to PDF

Skip to end of metadata
Go to start of metadata
To convert a document to PDF simply invoke the Document.Save method and specify a file name with the “.PDF” extension.
Example

Converts a whole document from DOC to PDF using default options.

C#
Document doc = new Document(MyDir + "Document.doc");

doc.Save(MyDir + "Document.Doc2PdfSave Out.pdf");
 
Visual Basic
Dim doc As New Document(MyDir & "Document.doc")

doc.Save(MyDir & "Document.Doc2PdfSave Out.pdf")
 
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.