SpreadsheetGear.Windows.Printing Namespace > WorkbookPrintDocument Class : GetPageCompleted Event |
'Declaration
Public Event GetPageCompleted As System.Windows.Documents.GetPageCompletedEventHandler
'Usage
Dim instance As WorkbookPrintDocument Dim handler As System.Windows.Documents.GetPageCompletedEventHandler AddHandler instance.GetPageCompleted, handler
public event System.Windows.Documents.GetPageCompletedEventHandler GetPageCompleted
public event GetPageCompleted: System.Windows.Documents.GetPageCompletedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Documents.GetPageCompletedEventHandler* GetPageCompleted
public: event System.Windows.Documents.GetPageCompletedEventHandler^ GetPageCompleted
The event handler receives an argument of type System.Windows.Documents.GetPageCompletedEventArgs containing data related to this event. The following GetPageCompletedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancelled | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
DocumentPage | Gets the System.Windows.Documents.DocumentPage for the page specified in the call to System.Windows.Documents.DocumentPaginator.GetPageAsync(System.Int32,System.Object). |
Error | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
PageNumber | Gets the page number passed to System.Windows.Documents.DocumentPaginator.GetPageAsync(System.Int32,System.Object). |
UserState | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2