API Reference
Struct
OfficeTextMetrics
Deterministic text measurement result in pixels.
Inheritance
- ValueType
- OfficeTextMetrics
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OfficeTextMeasurer.Measure
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public Double WidthPixels { get; } #Estimated text width in pixels.
public Double LineHeightPixels { get; } #Estimated single-line height in pixels.
public Double SpaceWidthPixels { get; } #Estimated width of a space character in pixels.
public Double MaximumDigitWidthPixels { get; } #Estimated maximum digit width in pixels.