Classes

Method XbpFont():getIFont() Foundation

Return font as an IFont automation object.

Syntax
:getIFont() --> oIFont
Return

This method returns the font as an IFont COM object.

Description

COM/ActiveX components usually manage fonts using COM objects. To assign a font to a property of a COM/ActiveX object, an Xbase++ application often needs to specify the font as an IFont object. The method :getIFont() creates an AutomationObject of class IFont and initializes the object with the font data maintained by the XbpFont instance. The object returned can then be assigned to the COM/ActiveX property.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.