SpreadsheetGear 2012
GetPageCompleted Event






Syntax
'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
Event Data

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.

PropertyDescription
Cancelled (Inherited from System.ComponentModel.AsyncCompletedEventArgs)
DocumentPageGets 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)
PageNumberGets the page number passed to System.Windows.Documents.DocumentPaginator.GetPageAsync(System.Int32,System.Object).  
UserState (Inherited from System.ComponentModel.AsyncCompletedEventArgs)
Requirements

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

See Also

Reference

WorkbookPrintDocument Class
WorkbookPrintDocument Members

Send Feedback