Microsoft SDK for Java

matchFace

This method of the FontX Class compares the current font face to the specified face.

Syntax

public static boolean matchFace(String face);

Return Value

Returns true if the current face is the same as the specified face; otherwise, returns false.

Parameters

face The name of the font face to compare to the current font face.

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