'Declaration Public Event FileOpened As EventHandler(Of FileOpenedEventArgs)
'Usage Dim instance As PageView Dim handler As EventHandler(Of FileOpenedEventArgs) AddHandler instance.FileOpened, handler
public event EventHandler<FileOpenedEventArgs> FileOpened
public: __event EventHandler<FileOpenedEventArgs*>* FileOpened
public: event EventHandler<FileOpenedEventArgs^>^ FileOpened
Event Data
The event handler receives an argument of type FileOpenedEventArgs containing data related to this event. The following FileOpenedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ARTPage | Gets ImGearAnnotationPage loaded into the page view control. Set to null if no annotations were loaded. |
Document | Gets ImGearDocument loaded for the file if requested, otherwise null. |
File | Gets FileInfo of file dropped on PageView control. |
Page | Gets ImGearPage loaded into the page view control. Set to null if no page was loaded. |
PageNumber | Gets Page number of the image or annotation loaded from the file. |
Remarks
Depends upon DragDropOpen being set to true.
Properties of the FileOpenedEventArgs object contain the results of the opening.
See Also