GetTextStyle

Description

Finds out whether selected text has text styles (such as bold or italic) assigned to it.

Applies to

RichTextEdit controls

Syntax

rtename.GetTextStyle ( textstyle )

Returns

Boolean. Returns true if the selected text is formatted with the specified text style and false if it is not. If textstyle is null, GetTextStyle returns null.