Vcl.OleCtrls.OleFontToFont

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

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