'Declaration
Public Event PageRenderingError As EventHandler(Of PageRenderingErrorEventArgs)
'Usage
Dim instance As PDFFile Dim handler As EventHandler(Of PageRenderingErrorEventArgs) AddHandler instance.PageRenderingError, handler
public event EventHandler<PageRenderingErrorEventArgs> PageRenderingError
public: __event EventHandler<PageRenderingErrorEventArgs*>* PageRenderingError
public: event EventHandler<PageRenderingErrorEventArgs^>^ PageRenderingError
Event Data
The event handler receives an argument of type PageRenderingErrorEventArgs containing data related to this event. The following PageRenderingErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the page rendering should be cancelled or not. |
ErrorMessage | Gets the associated error message. |
PageNumber | Gets the page number where the error appeared. |
PageRenderingError | Gets the type of the error that appeared. |
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