Microsoft SDK for Java

RichEdit.getSelStrikeThru

Retrieves a value that indicates strike-through format of the selection.

Syntax

public int getSelStrikeThru()

Return Value

Returns -1 if the selection contains a mix of styles. Returns 0 if none of the characters have the strike-through style, and returns 1 if all the characters in the selection are struck through.

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