TXTextControl.ShrinkFont Method

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

Introduced: 16.0.

Syntax

TXTextControl.ShrinkFont

Return Value

The return value is True, if at least one font size could be changed. It is False, if the minimum value has been reached.

Data Types

Return value: Boolean

See Also