RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleGraphic.SaveToClipboardFormat Method

Introduces an abstract method that assigns the graphic 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);

Each descendant graphic object defines a SaveToClipboardFormat method that saves that particular graphic image type to a Clipboard format. An application must have registered the format with the TGraphic object using the RegisterClipboardFormat method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!