Edit

Share via


Font.TryGetGlyph Method

Definition

Overloads

Name Description
TryGetGlyph(Int32, UInt32)

Tries to get the glyph ID for a Unicode code point.

TryGetGlyph(UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point.

TryGetGlyph(Int32, UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point with a variation selector.

TryGetGlyph(UInt32, UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point with a variation selector.

TryGetGlyph(Int32, UInt32)

Tries to get the glyph ID for a Unicode code point.

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

Parameters

unicode
Int32

The Unicode code point.

glyph
UInt32

Returns the glyph ID if found.

Returns

true if the glyph was found; otherwise, false.

Applies to

TryGetGlyph(UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point.

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

Parameters

unicode
UInt32

The Unicode code point.

glyph
UInt32

Returns the glyph ID if found.

Returns

true if the glyph was found; otherwise, false.

Applies to

TryGetGlyph(Int32, UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point with a variation selector.

public bool TryGetGlyph(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 glyph ID if found.

Returns

true if the glyph was found; otherwise, false.

Applies to

TryGetGlyph(UInt32, UInt32, UInt32)

Tries to get the glyph ID for a Unicode code point with a variation selector.

public bool TryGetGlyph(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 glyph ID if found.

Returns

true if the glyph was found; otherwise, false.

Applies to