Vcl.OleCtrls.FontToOleFont
Delphi
function FontToOleFont(Font: TFont): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall FontToOleFont(Vcl::Graphics::TFont* Font);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | Vcl.OleCtrls |
Description
Renvoie un Variant contenant une interface IFontDispatch représentant un objet TFont.
Utilisez FontToOleFont pour convertir une fonte de TFont au format IFontDispatch. L'interface utilise l'objet TFont pour implémenter les méthodes de l'interface.