[Visual
Basic] imagekitcontrolname_GetDragDropFileName(ByVal
FileName As String, ByVal Page As Integer)
[Visual
C++] OnGetDragDropFileNameimagekitcontrolname(LPCTSTR
FileName, short Page)
[VB.NET] imagekitcontrolname_GetDragDropFileName(ByVal
sender As System.Object, ByVal e As
AxImageKit10(A)Lib._IImageKitEvents_GetDragDropFineNameEvent)
[C#.NET] imagekitcontrolname_GetDragDropFileName(object
sender,
AxImageKit10(A)Lib._IImageKitEvents_GetDragDropFineNameEvent
e)
AxImageKit10ALib refers to the ANSI version, AXImageKit10Lib refers to the Unicode version.
Parameters
Name | Explanation |
---|---|
FileName | The name of the file dropped into the display control. |
Page | The page number of a multi-page image file (From 0) |
* The second parameter in VB.NET/C#.NET is e and it contains the FileName and Page arguments. (the first letter is lower case)
Explanation
The GetDragDropFileName event is generated after an image is dragged and dropped into the ImageKit Control. This event will be generated when an image file is dragged from Windows Explorer or the thumbnail control and dropped into the ImageKit Control.