Font.TryGetNominalGlyph 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 |
|---|---|
| TryGetNominalGlyph(Int32, UInt32) |
Tries to get the nominal glyph ID for a Unicode code point. |
| TryGetNominalGlyph(UInt32, UInt32) |
Tries to get the nominal glyph ID for a Unicode code point. |
TryGetNominalGlyph(Int32, UInt32)
Tries to get the nominal glyph ID for a Unicode code point.
public bool TryGetNominalGlyph(int unicode, out uint glyph);
Parameters
- unicode
- Int32
The Unicode code point.
- glyph
- UInt32
Returns the nominal glyph ID if found.
Returns
true if the glyph was found; otherwise, false.
Remarks
The nominal glyph is the default glyph for a character, without variation selectors.
Applies to
TryGetNominalGlyph(UInt32, UInt32)
Tries to get the nominal glyph ID for a Unicode code point.
public bool TryGetNominalGlyph(uint unicode, out uint glyph);
Parameters
- unicode
- UInt32
The Unicode code point.
- glyph
- UInt32
Returns the nominal glyph ID if found.
Returns
true if the glyph was found; otherwise, false.
Remarks
The nominal glyph is the default glyph for a character, without variation selectors.