[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Drawing.Font.-ctor

Font Constructor

Font(Font, FontStyle)

Initializes an instance of class Font.

Declaration
public Font(Font prototype, FontStyle newStyle)
Parameters
Type Name Description
Font prototype

The prototype.

FontStyle newStyle

The font style.

Exceptions
Type Condition
ArgumentException

Occurs when prototype.size is less than or equal to 0.

Font(string, float)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

Exceptions
Type Condition
ArgumentException

Occurs when size is less than or equal to 0.

Font(string, float, FontStyle)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize, FontStyle style)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

FontStyle style

The font style.

Font(string, float, GraphicsUnit)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize, GraphicsUnit unit)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

GraphicsUnit unit

The graphic Unit.

Font(string, float, FontStyle, GraphicsUnit)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

FontStyle style

The font style.

GraphicsUnit unit

The graphic Unit.

Font(string, float, FontStyle, GraphicsUnit, byte)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

FontStyle style

The font style.

GraphicsUnit unit

The graphic Unit.

byte gdiCharSet

The GDI char set.

Font(string, float, FontStyle, GraphicsUnit, byte, bool)

Initializes an instance of class Font.

Declaration
public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)
Parameters
Type Name Description
string familyName

The family name.

float emSize

The size.

FontStyle style

The font style.

GraphicsUnit unit

The graphic Unit.

byte gdiCharSet

The GDI char set.

bool gdiVerticalFont

Determines whether the font is vertical.