Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / PrintPDF Event
Example


In This Topic
    PrintPDF Event
    In This Topic
    Occurs before printing spread to PDF.
    Syntax
    'Declaration
     
    
    Public Event PrintPDF As PrintPDFEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As PrintPDFEventHandler
     
    AddHandler instance.PrintPDF, handler
    public event PrintPDFEventHandler PrintPDF
    Event Data

    The event handler receives an argument of type PrintPDFEventArgs containing data related to this event. The following PrintPDFEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the PDF file name.  
    Gets the index of the sheet to print.  
    Example
    This example uses the PrintPDF event.
    See Also