Vcl.Imaging.GIFImg.TGIFImage.LoadFromClipboardFormat

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

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

C++

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFImage

Beschreibung

Führt eine abstrakte Methode ein, die das Bild aus einer Variable im Zwischenablageformat lädt.

Vcl.Imaging.GIFImg.TGIFImage.LoadFromClipboardFormat erbt von Vcl.Graphics.TGraphic.LoadFromClipboardFormat. Der folgende Inhalt bezieht sich auf Vcl.Graphics.TGraphic.LoadFromClipboardFormat.

Führt eine abstrakte Methode ein, die das Bild aus einer Variable im Zwischenablageformat lädt.

Alle abgeleiteten Grafikobjekte definieren eine Methode LoadFromClipboardFormat, mit der die aktuelle Grafik durch die ersetzt wird, die der Parameter AData bezeichnet. Die Grafik wird aus der Zwischenablage übernommen.

Das Format des neuen Grafikobjekts muss mit der Methode RegisterClipboardFormat bei der Zwischenablage registriert sein. Andernfalls wird eine Exception ausgelöst.

Siehe auch