This event is generated when a file is saved.
[C++Builder] imagekitcontrolnameStartSave(TObject
*Sender, const UnicodeString FileName)
[Delphi] imagekitcontrolnameStartSave(Sender:
TObject, const FileName: string)
Parameters
Name | Explanation |
---|---|
FileName | The name of the file |
Explanation
The StartSave event is generated when a file is saved, i.e. when the File.FileSaveAsRawData method, the SaveFile method, or the SaveFileMem method are executed. When the SaveFileMem method is used, raw data is loaded so the FileName parameter will be an empty string.
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.