Microsoft SDK for Java

getFontX

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.

Syntax

static public FontX getFontX(Object punk);

Return Value

Returns a FontX object obtained by querying IUnknown for the IFont interface. If punk is null, null is returned.

Parameters

punk The IUnknown interface that is queried for the IFont interface.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.