This event is generated after an image is dragged and dropped into the ImageKit Control
[C++Builder] imagekitcontrolnameGetDragDropFileName(TObject
*Sender, const UnicodeString FileName, short Page)
[Delphi] imagekitcontrolnameGetDragDropFileName(Sender:
TObject; const FileName: string; Page: Smallint)
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) |
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.
Differences from ImageKit7/8/9/10 ActiveX
In C++Builder, the FileName parameter is changed to the type UnicodeString. In Delphi, the FileName parameter is changed to the type string.