Vcl.Imaging.pngimage.TPngImage.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.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage TPngImage

Description

Loads the png image from a variable in Clipboard format.

A call to the LoadFromClipboardFormat method replaces the current png image with the graphic indicated by AData, loaded from the Clipboard.

The format for the new graphic object must be registered with the Clipboard in the RegisterClipboardFormat method; otherwise an exception is raised.

See Also