'Declaration
Public Event PagesChanged As System.Windows.Documents.PagesChangedEventHandler
'Usage
Dim instance As WorkbookPrintDocument Dim handler As System.Windows.Documents.PagesChangedEventHandler AddHandler instance.PagesChanged, handler
public event System.Windows.Documents.PagesChangedEventHandler PagesChanged
public event PagesChanged: System.Windows.Documents.PagesChangedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Documents.PagesChangedEventHandler* PagesChanged
public: event System.Windows.Documents.PagesChangedEventHandler^ PagesChanged
The event handler receives an argument of type System.Windows.Documents.PagesChangedEventArgs containing data related to this event. The following PagesChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Count | Gets the number of continuous pages that changed. |
Start | Gets the page number of the first page that changed. |
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