Edit

Share via


Font.TryGetHorizontalGlyphOrigin(UInt32, Int32, Int32) Method

Definition

Tries to get the horizontal origin of a glyph.

public bool TryGetHorizontalGlyphOrigin(uint glyph, out int xOrigin, out int yOrigin);

Parameters

glyph
UInt32

The glyph ID.

xOrigin
Int32

Returns the X coordinate of the origin.

yOrigin
Int32

Returns the Y coordinate of the origin.

Returns

true if the origin was found; otherwise, false.

Remarks

The origin is the point from which the glyph is drawn for horizontal text.

Applies to