FontDescription.Spacing Property
Note
This property is available only when developing for Windows.
Gets or sets the amount of space, in pixels, to insert between letters in a string.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public float Spacing { get; set; }
Property Value
The amount of space, in pixels, to insert between letters in a string.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | Spacing is less than or equal to zero. Specify a value for this property that is greater than zero. |
See Also
Reference
FontDescription Class
FontDescription Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP