Font.GetGlyphData(Int32,Rectangle,Point) Method (Microsoft.DirectX.Direct3D)
Returns information about the placement and orientation of a glyph in a character cell.
Definition
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;
Parameters
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.
Return Value
Microsoft.DirectX.Direct3D.Texture
A Texture object that contains the glyph.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
The data is invalid.