Show: Delphi C++
Display Preferences

Vcl.OleCtrls.FontToOleFont

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance