Namespace: Microsoft.Xna.Framework.GraphicsAssembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public sealed class SpriteFont
To load a SpriteFont, click Sprite Font on the Add New Item menu. This adds an XML file to your project describing how to build a texture map for your font. At build time, XNA Game Studio creates a texture with the image of the characters of the font you specify, with the specified font point size.
At run time, load the font using ContentManager.Load, and pass it to SpriteBatch.DrawString when drawing text.
For an example of rendering a sprite font inside your game, see How To: Draw Text.