TXTextControl.Selection.GrowFont Method

Increases the font size of each font contained in the current text selection. If no text is selected, this method increases the font size at the text input position. The font sizes used with this method are the same as shown through the ButtonBar or the built-in font dialog.

Introduced: 16.0.

Syntax

[C#]
public bool GrowFont();
[Visual Basic]
Public Function GrowFont() As Boolean

Return Value

The return value is true, if at least one font size could be changed. It is false, if the maximum value has been reached.

See Also