Partager via


WebPageFont.FixedWidthFontSize Property

Returns or sets the fixed-width font size setting in the host application in points.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property FixedWidthFontSize As Single
    Get
    Set
'Usage
Dim instance As WebPageFont
Dim value As Single

value = instance.FixedWidthFontSize

instance.FixedWidthFontSize = value
float FixedWidthFontSize { get; set; }

Property Value

Type: System.Single

Remarks

When you set the FixedWidthFontSize property, the host application does not check the value for validity. If you enter an invalid value, such as a non-number, the host application sets the size to 0 points. You can enter half-point sizes; if you enter other fractional point sizes, they are rounded up or down to the nearest half-point.

See Also

Reference

WebPageFont Interface

WebPageFont Members

Microsoft.Office.Core Namespace