Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SavePdfToResponse Method / SavePdfToResponse(String) Method
Path and file name
Example


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

    Parameters

    fileName
    Path and file name
    Example
    This example saves the Spread to a PDF file.
    See Also