Edit

Share via


Font.TryGetVariationGlyph Method

Definition

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)

Tries to get a variation glyph for a Unicode code point.

public bool TryGetVariationGlyph(int unicode, out uint glyph);

Parameters

unicode
Int32

The Unicode 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)

Tries to get a variation glyph for a Unicode code point.

public bool TryGetVariationGlyph(uint unicode, out uint glyph);

Parameters

unicode
UInt32

The Unicode code point.

glyph
UInt32

Returns the variation glyph ID if found.

Returns

true if a variation glyph was found; otherwise, false.

Applies to

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.

Applies to