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);

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

 

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