Documents for Word .NET Edition
Features / Export
In This Topic
    Export
    In This Topic

    Exporting a Word document to PDF is a very common use case and is generally required for various benefits that PDF format offers. Some of them are security, cross-platform compatibility, availability of free readers, reduced file size etc.

    GcWord allows you to convert and save a Word document as PDF using SaveAsPdf method of the GcWordDocumentExtensions class. 

    In order to use GcWordDocument.SaveAsPDF method, you need to install Grapecity.Document.Layout package in your application.
    C#
    Copy Code
    doc.Load("SampleDoc.docx");
                
    //save word file to pdf
    doc.SaveAsPdf("TestFile.pdf");
    Back to Top

    For more information on how to convert a Word document into PDF using GcWord, see GcWord sample browser.

    Limitations