GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / AfterDocumentChange Event
Example





In This Topic
AfterDocumentChange Event (GdViewer)
In This Topic
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.

Syntax
'Declaration
 
Public Event AfterDocumentChange As GdViewer.AfterDocumentChangeEventHandler
 
Example
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
See Also