AfterDocumentChange Event (GdViewer)
This event is raised right after the new document has been successfully loaded and displayed in the GdViewer control using one of the DisplayFrom... methods.
Please check the corresponded GdViewer.AfterDocumentChangeEventHandler for more details.
How to add this event to your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
Friend WithEvents GdViewer1 As GdPicture14.GdViewer
'Add the event.
AddHandler GdViewer1.AfterDocumentChange, AddressOf GdViewer1_AfterDocumentChange
'Define the event.
Sub GdViewer1_AfterDocumentChange() Handles GdViewer1.AfterDocumentChange
'The document has been successfully loaded and displayed.
End Sub
//We assume that the GdViewer1 control has been properly integrated.
//Add the event.
GdViewer1.AfterDocumentChange += GdViewer1_AfterDocumentChange;
//Define the event.
void GdViewer1_AfterDocumentChange()
{
//The document has been successfully loaded and displayed.
}