Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SpriteFont Members
Collapse the table of content
Expand the table of content

SpriteFont Members

The following tables list the members exposed by the SpriteFont type.

NameDescription
Public PropertyCharactersGets a collection of all the characters that are included in the font.
Public PropertyDefaultCharacterGets or sets the default character for the font.
Public PropertyLineSpacingGets or sets the vertical distance (in pixels) between the base lines of two consecutive lines of text. Line spacing includes the blank space between lines as well as the height of the characters.
Public PropertySpacingGets or sets the spacing of the font characters.

NameDescription
Public MethodEquals(Inherited from Object.)
Public MethodGetHashCode(Inherited from Object.)
Public MethodGetType(Inherited from Object.)
Public MethodMeasureStringOverloaded. Returns the width and height of a string.
Public MethodToString(Inherited from Object.)

NameDescription
Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Community Additions

ADD
Show:
© 2015 Microsoft