Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SavePdf Method / SavePdf(String,PdfSecurity) Method
Path and file name of the PDF file
The password to encrypt pdf file
Example


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

    Parameters

    fileName
    Path and file name of the PDF file
    pdfSecurity
    The password to encrypt pdf file
    Example
    This example saves to a PDF file.
    See Also