Vcl.Imaging.jpeg.TJPEGImage.LoadFromClipboardFormat
Delphi
procedure LoadFromClipboardFormat(AFormat: Word; AData: THandle; APalette: HPALETTE); override;
C++
virtual void __fastcall LoadFromClipboardFormat(System::Word AFormat, NativeUInt AData, HPALETTE APalette);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.jpeg.pas Vcl.Imaging.jpeg.hpp |
Vcl.Imaging.jpeg | TJPEGImage |
Description
Reads in a jpeg image from the Clipboard into the jpeg image object.
LoadFromClipboardFormat is called if the jpeg image is registered with the TPicture object using the RegisterClipboardFormat method. LoadFromClipboardFormat can also recognize, and supports, a bitmap format on the Clipboard.
LoadFromClipboardFormat replaces the current image with the data pointed to by the AData parameter. The palette for the jpeg image is specified by the APalette parameter.