RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFontAdapter.GetOleFont Method

Obtains the IFontDisp interface from the associated OLE object.

Pascal
procedure GetOleFont(var OleFont: IFontDisp);
C++
__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!