Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / PrintBackground Event


In This Topic
    PrintBackground Event
    In This Topic
    Occurs before each page is printed.
    Syntax
    'Declaration
     
    
    Public Event PrintBackground As PrintBackgroundEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As PrintBackgroundEventHandler
     
    AddHandler instance.PrintBackground, handler
    public event PrintBackgroundEventHandler PrintBackground
    Event Data

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

    PropertyDescription
    Gets or sets the graphics device that does the printing.  
    Gets or sets the current page being printed.  
    Gets or sets the rectangular area that represents the sheet.  
    See Also