This method of the ActiveXToolkit Class creates a FontX object, given an IUnknown interface. This method obtains the font for the object by using QueryInterface on IUnknown to query for the IFont interface.
static public FontX getFontX(Object punk);
Returns a FontX object obtained by querying IUnknown for the IFont interface. If punk is null, null is returned.
punk | The IUnknown interface that is queried for the IFont interface. |