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

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

    Parameters

    stream
    The output stream.
    pageRange
    The range of pages that should be saved.
    pdfSettings
    The set of parameters for the output PDF.
    See Also