RAD Studio VCL Reference
TFontAdapter.GetOleFont Method

Obtains the IFontDisp interface from the associated OLE object.

procedure GetOleFont(var OleFont: IFontDisp);
__fastcall GetOleFont(IFontDisp OleFont);

ActiveX controls that use TFontAdapter call GetOleFont to obtain the interface that corresponds to the adapter's TFont object. If the OLE object for the font does not exist, GetOleFont creates it. 

The IFontDisp interface is returned as the OleFont parameter. 


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