Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / SavePdf Method / SavePdf(SheetView,Stream) Method
Sheet to be printed
Stream to save the file to as a PDF stream
Example


In This Topic
    SavePdf(SheetView,Stream) Method
    In This Topic
    Handles the export (or printing) of the specified sheet to PDF as a stream.
    Syntax
    'Declaration
     
    Public Overloads Function SavePdf( _
       ByVal sheetView As SheetView, _
       ByVal stream As Stream _
    ) As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim sheetView As SheetView
    Dim stream As Stream
    Dim value As Boolean
     
    value = instance.SavePdf(sheetView, stream)
    public bool SavePdf( 
       SheetView sheetView,
       Stream stream
    )

    Parameters

    sheetView
    Sheet to be printed
    stream
    Stream to save the file to as a PDF stream
    Example
    This example saves the Spread to a PDF file.
    See Also