Font.TryGetVariationGlyph 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 |
|---|---|
| TryGetVariationGlyph(Int32, UInt32) |
Tries to get a variation glyph for a Unicode code point. |
| TryGetVariationGlyph(UInt32, UInt32) |
Tries to get a variation glyph for a Unicode code point. |
| TryGetVariationGlyph(Int32, UInt32, UInt32) |
Tries to get a variation glyph for a Unicode code point with a specific variation selector. |
| TryGetVariationGlyph(UInt32, UInt32, UInt32) |
Tries to get a variation glyph for a Unicode code point with a specific variation selector. |
TryGetVariationGlyph(Int32, UInt32)
TryGetVariationGlyph(UInt32, UInt32)
TryGetVariationGlyph(Int32, UInt32, UInt32)
Tries to get a variation glyph for a Unicode code point with a specific variation selector.
public bool TryGetVariationGlyph(int unicode, uint variationSelector, out uint glyph);
Parameters
- unicode
- Int32
The Unicode code point.
- variationSelector
- UInt32
The variation selector code point.
- glyph
- UInt32
Returns the variation glyph ID if found.
Returns
true if a variation glyph was found; otherwise, false.
Applies to
TryGetVariationGlyph(UInt32, UInt32, UInt32)
Tries to get a variation glyph for a Unicode code point with a specific variation selector.
public bool TryGetVariationGlyph(uint unicode, uint variationSelector, out uint glyph);
Parameters
- unicode
- UInt32
The Unicode code point.
- variationSelector
- UInt32
The variation selector code point.
- glyph
- UInt32
Returns the variation glyph ID if found.
Returns
true if a variation glyph was found; otherwise, false.