Microsoft SDK for Java

Font.getStrikeout

Retrieves a boolean value that indicates whether the current font is a strikeout font.

Syntax

public final boolean getStrikeout()

Return Value

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

Remarks

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

A strikeout font is one in which a line is drawn through displayed text.

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