This event is generated after the TakeSnapshot method is executed.
[Delphi] playcontrolnameSnapshot(Sender:
TObject; ImageHandle: THandle; var FreeMemory: Boolean)
Parameters
Name | Explanation |
---|---|
ImageHandle | The memory handle of the snapshot bitmap |
FreeMemory | Sets whether or not the ImageHandle is freed from the memory after this event fires. Default is True. To free memory, set this to True. To hold the ImageHandle in the memory after this event fires, set to False. |
Explanation
The Snapshot event is generated after the TakeSnapshot method is executed.
When the FreeMemory parameter is True, the retrieved snapshot's bitmap will be freed from the memory after this event completes. To save the snapshot, execute the ImageKit Control's CopyImage method within this event and save the snapshot to file, etc.