Vcl.OleCtrls.OleFontToFont

From RAD Studio API Documentation

Delphi

<source lang="delphi">

procedure OleFontToFont(const OleFont: Variant; Font: TFont);

</source>

C++

<source lang="cpp">

extern DELPHI_PACKAGE void __fastcall OleFontToFont(const System::Variant &OleFont, Vcl::Graphics::TFont* Font);

</source>

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls Vcl.OleCtrls

Description

Fills in a TFont structure to represent an IFontDispatch.

Use OleFontToFont to convert a font from COM (IFontDispatch) to TFont format.

See Also