Export (0) Print
Expand All

SpriteFont.LineSpacing Property

The line spacing, in pixels, of this font.

The line spacing is the vertical distance between the base lines of two consecutive lines of text. Thus, it includes the blank space between lines as well as the height of the characters.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public int LineSpacing { get; set; }

Property Value

The height of one line, in pixels.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2015 Microsoft