​
​
​

Gets or sets the font's size, in twips, at the current input position. If text is selected, the property specifies the font size of the whole selected text.

Syntax

​public int? FontSize { get; set; }
​Public Property FontSize() As Nullable(Of Integer)
​

Remarks

The property returns null when the text selection contains multiple characters with mixed font sizes.

The WPF.MeasureConverter can be used to convert the property value to another measuring unit.

​