GetMetrics(Int32) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Gets a glyph's horizontal metrics, in glyph space units; zero when the program records none or the glyph id is out of range.

public virtual GlyphMetrics GetMetrics(int glyphId)

Parameters

glyphId
Int32

The glyph id.

Returns

GlyphMetrics
The advance width and left side bearing.