Version

Size Property (Font)

Returns or sets the size at which the font is displayed.
Syntax
'Declaration
 
Public Property Size As Nullable(Of Single)
public Nullable<float> Size {get; set;}
Remarks

The value assigned to this property must be a value between the range of 1 and 1638 DTPs (desktop publishing points), inclusive.

The unit of measurement used to express the property value is defined by the Unit property of the associated WordDocumentWriter.

This property can be restored to its default value by setting it to null.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also