Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / PrintSheet Event

In This Topic
    PrintSheet Event
    In This Topic
    Occurs when a sheet is printed.
    Public Event PrintSheet As PrintEventHandler
    Dim instance As FpSpread
    Dim handler As PrintEventHandler
    AddHandler instance.PrintSheet, handler
    public event PrintEventHandler PrintSheet
    Event Data

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

    Gets or sets the HTML content for the header or the footer of the sheet. For the header, the default is the sheet name. For the footer, the default is an empty string.  
    Gets whether to print the sheet header.  
    Gets or sets whether to include a page break.  
    Gets the row index.  
    Gets the index of the sheet to print.  
    Gets or sets whether to skip printing this sheet.  
    This event fires for each row.
    This example prints a header and a footer.
    See Also