Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SavePdfToResponse Method / SavePdfToResponse(PdfSecurity) Method
The password to encrypt pdf file
Example


In This Topic
    SavePdfToResponse(PdfSecurity) Method
    In This Topic
    Saves the contents of the Spread component to a Response object in PDF file format. The password to encrypt pdf file
    Syntax
    'Declaration
     
    Public Overloads Function SavePdfToResponse( _
       ByVal pdfSecurity As PdfSecurity _
    ) As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim pdfSecurity As PdfSecurity
    Dim value As Boolean
     
    value = instance.SavePdfToResponse(pdfSecurity)
    public bool SavePdfToResponse( 
       PdfSecurity pdfSecurity
    )

    Parameters

    pdfSecurity
    The password to encrypt pdf file
    Example
    This example uses the SavePdfToResponse method.
    See Also