RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TJPEGImage.SaveToClipboardFormat Method

Writes a jpeg image to a variable in Clipboard format.

Pascal
procedure SaveToClipboardFormat(var AFormat: Word; var AData: THandle; var APalette: HPALETTE); override;
C++
virtual __fastcall SaveToClipboardFormat(Word AFormat, THandle AData, HPALETTE APalette);

Use SaveToClipboardFormat to save the jpeg image to a variable. The palette is returned as the APalette parameter, the format as the Aformat parameter, and the data as the AData parameter. Before the jpeg image can be saved, an application must have registered the format with the TJPEGImage object using the RegisterClipboardFormat method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!