Reference Guide
GdPicture14.WEB Namespace / DocuVieware Class / SaveAsPDF Method
Specifies the conformance of the document to create. A member of the PdfConformance enumeration.
A System.IO.Stream object that will contain the document content, in PDF format.
Specifies the page range to save. Use empty value or '*' to include all pages. Default value is "*"
Specifies whether annotations must be removed from the produced document. Default value is false.
Specifies if page rotation(is) applied during the viewing cycle must be applied to the produced document. Default value is false.

In This Topic
    SaveAsPDF Method (DocuVieware)
    In This Topic
    Saves a copy of the native document as PDF.
    Syntax
    'Declaration
     
    
    Public Function SaveAsPDF( _
       ByVal PdfConformance As PdfConformance, _
       ByVal Stream As Stream, _
       Optional ByVal PageRange As String, _
       Optional ByVal DropAnnotations As Boolean, _
       Optional ByVal ApplyViewRotation As Boolean _
    ) As GdPictureStatus
    public GdPictureStatus SaveAsPDF( 
       PdfConformance PdfConformance,
       Stream Stream,
       string PageRange,
       bool DropAnnotations,
       bool ApplyViewRotation
    )

    Parameters

    PdfConformance
    Specifies the conformance of the document to create. A member of the PdfConformance enumeration.
    Stream
    A System.IO.Stream object that will contain the document content, in PDF format.
    PageRange
    Specifies the page range to save. Use empty value or '*' to include all pages. Default value is "*"
    DropAnnotations
    Specifies whether annotations must be removed from the produced document. Default value is false.
    ApplyViewRotation
    Specifies if page rotation(is) applied during the viewing cycle must be applied to the produced document. Default value is false.

    Return Value

    A member of the GdPictureStatus enumeration.
    See Also