WebPageFont.ProportionalFontSize Property
Returns or sets the proportional font size setting in the host application in points.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property ProportionalFontSize As Single
Get
Set
'Usage
Dim instance As WebPageFont
Dim value As Single
value = instance.ProportionalFontSize
instance.ProportionalFontSize = value
float ProportionalFontSize { get; set; }
Property Value
Type: System.Single
Remarks
When you set the ProportionalFontSize 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.