SpriteFont.LineSpacing Property

Gets the height of a line using these font characters.

This is the number of pixels that the cursor moves down before starting the next line.

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

public int LineSpacing { get; }

Property Value

The height of one line, in pixels.

Xbox 360, Windows XP SP2, Windows Vista