Xceed Words for .NET v3.0 Documentation
Converting to PDF
Welcome to Xceed Words for .NET v3.0 > Code Snippets > Converting to PDF

The following example demonstrates how to convert a docx Document to PDF.

C#
Copy Code
    // Load a document

    using( var document = DocX.Load( "DocumentToConvert.docx" ) )

    {

      // Convert the Document to PDF.

      DocX.ConvertToPdf( document, "ConvertedDocument.pdf" );

    }