| Visual Basic (Declaration) | |
|---|---|
Public Event EndPrint As DocumentViewerEndPrintEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DocumentViewerBase Dim handler As DocumentViewerEndPrintEventHandler AddHandler instance.EndPrint, handler | |
| C# | |
|---|---|
public event DocumentViewerEndPrintEventHandler EndPrint | |
| Delphi | |
|---|---|
public event EndPrint: DocumentViewerEndPrintEventHandler; | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
public: __event DocumentViewerEndPrintEventHandler* EndPrint | |
| C++/CLI | |
|---|---|
public: event DocumentViewerEndPrintEventHandler^ EndPrint | |
The event handler receives an argument of type DocumentViewerEndPrintEventArgs containing data related to this event. The following DocumentViewerEndPrintEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| DocumentName | Gets the printed document name. |
| Error | Gets the Exception object during print process. |
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family