RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPicture.LoadFromClipboardFormat Method

Reads the picture from the handle provided in the given Clipboard format.

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

Use LoadFromClipboardFormat to read in a graphic from the Clipboard. If the format is not supported, an EInvalidGraphic exception is raised. 

 

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