Description
Sets or returns anfloat that represents the font size for a character run. The font size will always be a multiple of 0.5.
C#
public double FontSize{ get; set; }vb.net
Public Property FontSize() As Double
Remarks
MS Word equivalent: Format menu > Font... > Font tab > Size:Examples
C#
//--- Return FontSize
float fontSize = oFont.FontSize;
//--- Set FontSize to 16 points
oFont.FontSize = 16.0;
vb.net
'--- Return FontSize
Dim fontSize As Float = oFont.FontSize
'--- Set FontSize to 16 points
oFont.FontSize = 16.0
