RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGIFImage.LoadFromClipboardFormat Method

Introduces an abstract method that loads the image from a variable in Clipboard format.

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

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. 

 

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