ImageGear for .NET
FileOpened Event




Event triggered after a file has been opened by the PageView control.
Syntax
'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.

PropertyDescription
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

Reference

PageView Class
PageView Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback