Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SavePdf Method / SavePdf(Stream,PdfSecurity) Method
Stream to save the file to as a PDF stream
The password to encrypt pdf file
Example


In This Topic
    SavePdf(Stream,PdfSecurity) Method
    In This Topic
    Handles the export (or printing) of all the sheets to PDF as a stream.
    Syntax
    'Declaration
     
    Public Overloads Sub SavePdf( _
       ByVal stream As Stream, _
       ByVal pdfSecurity As PdfSecurity _
    ) 
    'Usage
     
    Dim instance As FpSpread
    Dim stream As Stream
    Dim pdfSecurity As PdfSecurity
     
    instance.SavePdf(stream, pdfSecurity)
    public void SavePdf( 
       Stream stream,
       PdfSecurity pdfSecurity
    )

    Parameters

    stream
    Stream to save the file to as a PDF stream
    pdfSecurity
    The password to encrypt pdf file
    Example
    This example saves to a PDF file.
    See Also