Font.TryGetHorizontalFontExtents(FontExtents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get the horizontal extents of the font.
public bool TryGetHorizontalFontExtents(out HarfBuzzSharp.FontExtents extents);
Parameters
- extents
- FontExtents
Returns the horizontal font extents.
Returns
true if the extents were found; otherwise, false.
Remarks
Extents include ascender, descender, and line gap values.