FontFamilies

public static class FontFamilies
Defines generic font families that can be used on all systems
Remarks: The font families here may correspond to certain fonts on each system, depending on the platform. These font families are "guaranteed" to be available, mainly by using pre-installed fonts on each platform.

Fields

CursiveFamilyName

#
public const string CursiveFamilyName = "CURSIVE"
Name of the cursive system family name
Remarks: Not intended to be used directly, use Cursive. Used by platform handlers to determine which system font family to get

FantasyFamilyName

#
public const string FantasyFamilyName = "FANTASY"
Name of the fantasy system family name
Remarks: Not intended to be used directly, use Fantasy. Used by platform handlers to determine which system font family to get

MonospaceFamilyName

#
public const string MonospaceFamilyName = "MONOSPACE"
Gets the name of the monospace system family name
Remarks: Not intended to be used directly, use Monospace. Used by platform handlers to determine which system font family to get

SansFamilyName

#
public const string SansFamilyName = "SANS-SERIF"
Gets the name of a sans-serif system family name
Remarks: Not intended to be used directly, use Sans. Used by platform handlers to determine which system font family to get

SerifFamilyName

#
public const string SerifFamilyName = "SERIF"
Gets the name of a serif system family name
Remarks: Not intended to be used directly, use Serif. Used by platform handlers to determine which system font family to get

Properties

Cursive

#
public static FontFamily Cursive { get; }
Gets a cursive font family

Fantasy

#
public static FontFamily Fantasy { get; }
Gets a fantasy font family

Monospace

#
public static FontFamily Monospace { get; }
Gets a monospace font family

Sans

#
public static FontFamily Sans { get; }
Gets a sans-serif font family

Serif

#
public static FontFamily Serif { get; }
Gets a serif font family