TXTextControl.Selection.FontSize Property

Gets or sets the font's size, in twips, of the selected text.


public int FontSize { get; set; }
[Visual Basic]
Public Property FontSize() As Integer


The property's default value is 200 twips, which equals 10 points.

The property returns its default value when the text selection contains multiple characters with mixed font sizes. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.


Runtime only.

See Also