[]
        
(Showing Draft Content)

C1.Util.Font.-ctor

Font Constructor

Font(string, float, FontStyle)

Initializes a new instance of a Font object.

Declaration
public Font(string name, float sizeInPoints, FontStyle style)
Parameters
Type Name Description
string name

Font face.

float sizeInPoints

Font size in points.

FontStyle style

Font style attributes.

Font(string, float)

Initializes a new instance of a Font object.

Declaration
public Font(string name, float sizeInPoints)
Parameters
Type Name Description
string name

Font face.

float sizeInPoints

Font size in points.

Font(Font, FontStyle)

Initializes a new instance of a Font object from a other font.

Declaration
public Font(Font font, FontStyle style)
Parameters
Type Name Description
Font font

The other font.

FontStyle style

Font style attributes.

Font(FontStyle, float, Stream)

Initializes a new instance of a Font object from a stream containing raw font data.

Declaration
public Font(FontStyle style, float sizeInPoints, Stream stream)
Parameters
Type Name Description
FontStyle style

Font style attributes.

float sizeInPoints

The font size in points.

Stream stream

The stream with raw font data.

Font(FontStyle, float, FontSubSet)

Initializes a new instance of a Font object.

Declaration
public Font(FontStyle style, float sizeInPoints, FontSubSet subset)
Parameters
Type Name Description
FontStyle style

Font style attributes.

float sizeInPoints

The font size in points.

FontSubSet subset

The font subset object.

Font(FontStyle, float, byte[])

Initializes a new instance of a Font object.

Declaration
public Font(FontStyle style, float sizeInPoints, byte[] fontData)
Parameters
Type Name Description
FontStyle style

Font style attributes.

float sizeInPoints

The font size in points.

byte[] fontData

The raw font file data.