NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox.SelectionCharOffset

Determines whether text in the RichTextBox control appears on the baseline (normal), as a superscript above the baseline, or as a subscript below the baseline.

[Visual Basic]
Public Property SelectionCharOffset As Integer
[C#]
public int SelectionCharOffset {get; set;}
[C++]
public: __property int get_SelectionCharOffset();
public: __property void set_SelectionCharOffset(int);
[JScript]
public function get SelectionCharOffset() : int;
public function set SelectionCharOffset(int);

Property Value

0- normal positive number- superscript, raised by specified number of pixels. negative number- subscript, lowered by specified number of pixels.

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace