Document Solutions for Word
DS.Documents.Word.Layout Assembly / GrapeCity.Documents.Word.Layout Namespace / GcWordLayout Class / SaveAsPdf Method / SaveAsPdf(String,OutputRange,PdfOutputSettings) Method
Full path to the output file.
The range of pages that should be saved.
The set of parameters for the output PDF.

In This Topic
    SaveAsPdf(String,OutputRange,PdfOutputSettings) Method
    In This Topic
    Saves the document into a file in PDF format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPdf( _
       ByVal filePath As System.String, _
       Optional ByVal pageRange As GrapeCity.Documents.Common.OutputRange, _
       Optional ByVal pdfSettings As PdfOutputSettings _
    ) 
    public void SaveAsPdf( 
       System.string filePath,
       GrapeCity.Documents.Common.OutputRange pageRange,
       PdfOutputSettings pdfSettings
    )

    Parameters

    filePath
    Full path to the output file.
    pageRange
    The range of pages that should be saved.
    pdfSettings
    The set of parameters for the output PDF.
    See Also