Vcl.OleCtrls.FontToOleFont
Delphi
function FontToOleFont(Font: TFont): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall FontToOleFont(Vcl::Graphics::TFont* Font);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | Vcl.OleCtrls |
Description
Returns a Variant containing an IFontDispatch interface that represents a TFont object.
Use FontToOleFont to convert a font from TFont to IFontDispatch format. The interface uses the TFont object to implement the methods of the interface.