Edit

Font.TryGetHorizontalFontExtents(FontExtents) Method

Definition

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.

Applies to