RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
OleCtrls.FontToOleFont Function

Returns a Variant containing an IFontDispatch interface that represents a TFont object.

Pascal
function FontToOleFont(Font: TFont): Variant;
C++
Variant FontToOleFont(TFont Font);

OleCtrls

Use FontToOleFont to convert a font from TFont to IFontDispatch format. The interface uses the TFont object to implement the methods of the interface. 

 

OleFontToFont 

OleStrToStrVar 

StringToOleStr 

OleStrToString

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!