FontDescription.FontName Property (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Gets or sets the name of the font, such as "Times New Roman" or "Arial". This value cannot be null or empty.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public string FontName { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.String
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop