API:Vcl.Graphics.TWICImage.LoadFromClipboardFormat
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.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TWICImage |
Beschreibung
Führt eine abstrakte Methode ein, die das Bild aus einer Variable im Zwischenablageformat lädt.
Vcl.Graphics.TWICImage.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.