TX Text Control .NET for Windows Forms Documentation

Selection.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 ButtonBar or the built-in font dialog.

Introduced: 16.0.

Syntax

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

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.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now