[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Drawing.FontInfo.-ctor

FontInfo Constructor

FontInfo(string, float, FontStyle, FontWeight, FontDecoration)

Initializes a new instance of the FontInfo class with specified font family, size, style, weight, and decoration.

Declaration
public FontInfo(string familyName, float size, FontStyle style, FontWeight weight, FontDecoration decoration)
Parameters
Type Name Description
string familyName

The font family name.

float size

The font size in points.

FontStyle style

The font style.

FontWeight weight

The font weight.

FontDecoration decoration

The font decoration.

FontInfo(string, float)

Initializes a new instance of the FontInfo class with specified font family and size.

Declaration
public FontInfo(string familyName, float size)
Parameters
Type Name Description
string familyName

The font family name.

float size

The font size in points.

FontInfo(string, float, string, string, string)

Initializes a new instance of the FontInfo class with specified font family, size, style, weight, and decoration as strings.

Declaration
public FontInfo(string familyName, float size, string style, string weight, string decoration)
Parameters
Type Name Description
string familyName

The font family name.

float size

The font size in points.

string style

The font style as a string.

string weight

The font weight as a string.

string decoration

The font decoration as a string.