Microsoft SDK for Java

Font.getUnderline

Retrieves a boolean value that indicates whether the font is underlined.

Syntax

public final boolean getUnderline()

Return Value

Returns true if the font is underlined; otherwise, returns false.

Remarks

You specify whether a font is underlined when you construct the Font object. By default, fonts are not underlined.

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