ImageGear .NET - Updated
FileOpenedEventArgs Constructor




ImageGear23.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > FileOpenedEventArgs Class : FileOpenedEventArgs Constructor
FileInfo class to associate with the File property.
Page number to set to the PageNumber property.
ImGearPage object to assign to the Page property.
ImGearDocument object to assign to the Document property.
ImGearAnnotationPage object to assign to the ARTPage property.
Initializes a new instance of the FileOpenedEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal file As FileInfo, _
   ByVal pageNumber As Integer, _
   ByVal page As ImGearPage, _
   ByVal document As ImGearDocument, _
   ByVal artPage As ImGearAnnotationPage _
)
'Usage
 
Dim file As FileInfo
Dim pageNumber As Integer
Dim page As ImGearPage
Dim document As ImGearDocument
Dim artPage As ImGearAnnotationPage
 
Dim instance As New FileOpenedEventArgs(file, pageNumber, page, document, artPage)
public FileOpenedEventArgs( 
   FileInfo file,
   int pageNumber,
   ImGearPage page,
   ImGearDocument document,
   ImGearAnnotationPage artPage
)
public: FileOpenedEventArgs( 
   FileInfo* file,
   int pageNumber,
   ImGearPage* page,
   ImGearDocument* document,
   ImGearAnnotationPage* artPage
)
public:
FileOpenedEventArgs( 
   FileInfo^ file,
   int pageNumber,
   ImGearPage^ page,
   ImGearDocument^ document,
   ImGearAnnotationPage^ artPage
)

Parameters

file
FileInfo class to associate with the File property.
pageNumber
Page number to set to the PageNumber property.
page
ImGearPage object to assign to the Page property.
document
ImGearDocument object to assign to the Document property.
artPage
ImGearAnnotationPage object to assign to the ARTPage property.
See Also

Reference

FileOpenedEventArgs Class
FileOpenedEventArgs Members