SpreadsheetGear 2017
EndPrint Event (WorkbookPrintDocument)






SpreadsheetGear.Windows.Printing Namespace > WorkbookPrintDocument Class : EndPrint Event
Syntax
'Declaration
 
Public Event EndPrint As System.EventHandler(Of EndPrintEventArgs)
'Usage
 
Dim instance As WorkbookPrintDocument
Dim handler As System.EventHandler(Of EndPrintEventArgs)
 
AddHandler instance.EndPrint, handler
public event System.EventHandler<EndPrintEventArgs> EndPrint
public event EndPrint: System.EventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.EventHandler<EndPrintEventArgs*>* EndPrint
public:
event System.EventHandler<EndPrintEventArgs^>^ EndPrint
Event Data

The event handler receives an argument of type System.Windows.Printing.EndPrintEventArgs containing data related to this event. The following EndPrintEventArgs properties provide information specific to this event.

PropertyDescription
Gets an exception that indicates what kind of error occurred during printing, if an error occurred.  
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