Vcl.Graphics.TWICImage.LoadFromClipboardFormat

From RAD Studio API Documentation
Jump to: navigation, search

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.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TWICImage

Description

Loads a bitmap from the Clipboard into the TWICImage object.

LoadFromClipboardFormat is called if the bitmap is registered with the TPicture object using the RegisterClipboardFormat method.

LoadFromClipboardFormat replaces the current image with the data pointed to by the AData parameter. The palette for the image is specified by the APalette parameter.

TWICImage uses bitmap for its Clipboard format.

See Also