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.SelectionFont

The font used to display the currently selected text or the characters(s) immediately following the insertion point in the RichTextBox control. Null if the selection has more than one font.

[Visual Basic]
Public Property SelectionFont As Font
[C#]
public Font SelectionFont {get; set;}
[C++]
public: __property Font* get_SelectionFont();
public: __property void set_SelectionFont(Font*);
[JScript]
public function get SelectionFont() : Font;
public function set SelectionFont(Font);

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace