Microsoft SDK for Java

Font.getUnits

Retrieves the units in which the font's size is measured.

Syntax

public final int getUnits()

Return Value

Returns one of the enumeration constants defined in the FontSize class.

Remarks

You specify the units in which a font's size are measured when you construct the Font object.

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