Vcl.OleCtrls.FontToOleFont

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function FontToOleFont(Font: TFont): Variant;

C++

extern DELPHI_PACKAGE System::Variant __fastcall FontToOleFont(Vcl::Graphics::TFont* Font);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls Vcl.OleCtrls

Beschreibung

Gibt eine Variante mit einem IFontDispatch-Interface zurück, das ein TFont-Objekt repräsentiert.

Mit FontToOleFont konvertieren Sie eine Schriftart von TFont in das IFontDispatch-Format. Das Interface verwendet das TFont-Objekt zur Implementierung seiner Methoden.

Siehe auch