RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
OleCtrls.OleFontToFont Function

Fills in a TFont structure to represent an IFontDispatch.

Pascal
procedure OleFontToFont(const OleFont: Variant; Font: TFont);
C++
OleFontToFont(const Variant OleFont, TFont Font);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!