Font.GetGlyphData Method

Language:

Returns information about the placement and orientation of a glyph in a character cell.

Definition

Visual Basic Public Function GetGlyphData( _
    ByVal glyph As Integer _
) As Texture
C# public Texture GetGlyphData(
    int glyph
);
C++ public:
TextureGetGlyphData(
    int glyph
);
JScript public function GetGlyphData(
    glyph : int
) : Texture;

Parameters

glyph System.Int32
Glyph identifier.

Return Value

Microsoft.DirectX.Direct3D.Texture
A Texture object that contains the glyph.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
InvalidDataException The data is invalid.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center