Font.GetGlyphData Method |
Language: |
Returns information about the placement and orientation of a glyph in a character cell.
Visual Basic Public Function GetGlyphData( _
ByVal glyph As Integer, _
ByRef blackBox As Rectangle, _
ByRef cellInc As Point _
) As TextureC# public Texture GetGlyphData(
int glyph,
out Rectangle blackBox,
out Point cellInc
);C++ public:
Texture^ GetGlyphData(
int glyph,
[Out] Rectangle% blackBox,
[Out] Point% cellInc
);JScript public function GetGlyphData(
glyph : int,
blackBox : Rectangle,
cellInc : Point
) : Texture;
glyph System.Int32
Glyph identifier.blackBox System.Drawing.Rectangle
Smallest Rectangle object that completely encloses the glyph (its black box).cellInc System.Drawing.Point
A Vector2 structure that connects the origin of the current character cell to the origin of the next character cell.
Microsoft.DirectX.Direct3D.Texture
A Texture object that contains the glyph.
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