Vcl.Graphics.TGraphic.LoadFromClipboardFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromClipboardFormat(AFormat: Word; AData: THandle;  APalette: HPALETTE); virtual; abstract;

C++

virtual void __fastcall LoadFromClipboardFormat(System::Word AFormat, NativeUInt AData, HPALETTE APalette) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

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.

See Also