API:Vcl.Imaging.GIFImg.TGIFImage.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.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFImage |
Description
Introduces an abstract method that loads the image from a variable in Clipboard format.
Vcl.Imaging.GIFImg.TGIFImage.LoadFromClipboardFormat inherits from Vcl.Graphics.TGraphic.LoadFromClipboardFormat. All content below this line refers to Vcl.Graphics.TGraphic.LoadFromClipboardFormat.
Introduces an abstract method that loads the image from a variable in Clipboard format.
Each descendant graphic object defines a LoadFromClipboardFormat method that replaces the current graphic image with the graphic indicated by AData, which it loads from the Clipboard.
The format for the new graphic object must be registered with the Clipboard in the RegisterClipboardFormat method, or an exception is raised.