Overview | Methods | This Package | All Packages
Determines whether text in the control appears on the baseline, as a superscript above the baseline, or as a subscript below the base line.
Syntax
public void setSelCharOffset( int selCharOffset )
Parameters
selCharOffset
A value that specifies the character offset. If this value is zero, the text appears on the baseline. If it is a positive number, the number specifies the number of pixels by which to raise the selection above the baseline. If it is a negative number, this number specifies the number of pixels by which to subscript the selection.
Remarks
If no text is currently selected, the offset is applied to the current insertion point and to all text that the user types at the insertion point. The new offset applies only until the insertion point is moved.
See Also getSelCharOffset