C# Class Nexus.UI.FontSet

Used to represent a list of fonts.
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
CreateFont ( FontStyle p_fstStyle, float p_fltSize ) : Font

Used to create the font with the style and size requested.

FontSet ( string families ) : System

Creates a new instance of the FontSet class.

Method Details

CreateFont() public method

Used to create the font with the style and size requested.
public CreateFont ( FontStyle p_fstStyle, float p_fltSize ) : Font
p_fstStyle FontStyle The style of font to create.
p_fltSize float The size of font to create.
return System.Drawing.Font

FontSet() public method

Creates a new instance of the FontSet class.
If the or parameters are null. If the or parameters are zero length, or the parameters contains null, or empty string entires.
public FontSet ( string families ) : System
families string The list of font familes this set uses. The familes will try and be used in the order they were passed, e.g. index 0 to n.
return System