'Declaration Public Event Error As ErrorEventHandler
public event ErrorEventHandler Error
The event handler receives an argument of type ErrorEventArgs containing data related to this event. The following ErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
ErrorDescription | The description of the error that occurred. |
ErrorTitle | The title of error that error dialog which will display. |
This event will fire when the generation of the print output results in an error. For example, if there are not tasks to print, or if the PrintXColumnsOnEveryPage results in repeating columns that fill the entire width of the page and leave no room for other content.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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