API Reference
Enum
TextMeasurementMode
Controls whether layout widths depend on fonts installed on the rendering host.
Inheritance
- Enum
- TextMeasurementMode
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
public const TextMeasurementMode PortableEstimate #Uses the portable width estimate. Geometry is independent of installed fonts; actual glyph widths can differ.
Value:
0public const TextMeasurementMode InstalledFonts #Measures the theme family using installed outline fonts. Geometry can differ between hosts.
Value:
1