Font.GetHorizontalGlyphAdvances 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.
Overloads
| Name | Description |
|---|---|
| GetHorizontalGlyphAdvances(ReadOnlySpan<UInt32>) |
Gets the horizontal advance widths of multiple glyphs. |
| GetHorizontalGlyphAdvances(IntPtr, Int32) |
Gets the horizontal advance widths of multiple glyphs. |
GetHorizontalGlyphAdvances(ReadOnlySpan<UInt32>)
Gets the horizontal advance widths of multiple glyphs.
public int[] GetHorizontalGlyphAdvances(ReadOnlySpan<uint> glyphs);
Parameters
- glyphs
- ReadOnlySpan<UInt32>
The span of glyph IDs.
Returns
An array of horizontal advances in font units.