RichEdit.getSelCharOffset

Overview | Methods | This Package | All Packages

RichEdit.getSelCharOffset

Returns a value that determines whether text in the RichEdit control appears on the baseline (normal), as a superscript above the baseline, or as a subscript below the baseline.

Syntax

public int getSelCharOffset()

Return Value

Returns 0 if the text appears on the baseline. If the text is superscript, this method returns a positive integer that indicates, in pixels, how far above the baseline the text appears. If the text is subscript, this method returns a negative integer that indicates, in pixels, how far below the baseline the text appears.

See Also   setSelCharOffset