FontSizeClass
Definition
- Namespace
- DOM.MeasurementUnits
- Assembly
- DOM.dll
Represents a font-size measurement specialized from . DocumentUnit
Remarks
provides a convenient abstraction for working with font sizes while internally storing all values in EMUs via . FontSize DocumentUnit In addition to standard unit-based construction, this type exposes a half-point based accessor () to align with WordprocessingML and other document formats that represent font sizes using half-points. HalfPoint Use wherever a font size is required — for example on and . FontSize FontPart.Size Font.Kerning
Examples
Constructors
Initializes a new instance with no value set. FontSize
Initializes a new instance from a point-based font size. FontSize
Properties
Gets or sets the font size expressed in half-points.
This property is primarily intended for compatibility with document formats (such as WordprocessingML) that encode font sizes using half-point units. A value indicates that the font size is not explicitly set. null
Methods
Implicitly converts a point-based value to a . Double, FontSize