'Declaration
Public Event PrintDocument As PrintDocumentEventHandler
'Usage
Dim instance As FpSpread Dim handler As PrintDocumentEventHandler AddHandler instance.PrintDocument, handler
public event PrintDocumentEventHandler PrintDocument
Event Data
The event handler receives an argument of type PrintDocumentEventArgs containing data related to this event. The following PrintDocumentEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel the print process. Note: Cancelling the print process cannot be reversed. |
CurrentPage | Gets the order number of the current printed page. |
EventType | Gets the type of PrintDocument event. |
PrintAction | Gets the PrintAction type of the PrintDocument event. |
SheetIndex | Get sheet's index is printing. |
TotalPage | Gets the total number of printed pages. |
See Also