[]
        
(Showing Draft Content)

C1.WPF.Word.Font.-ctor

Font Constructor

Font(string, double, RtfFontStyle)

Initializes a new instance of a Font object.

Declaration
public Font(string name, double sizeInPoints, RtfFontStyle style)
Parameters
Type Name Description
string name

Font face.

double sizeInPoints

Font size in points.

RtfFontStyle style

Font style attributes.

Font(string, double)

Initializes a new instance of a Font object.

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

Font face.

double sizeInPoints

Font size in points.

Font(RtfFontStyle, double, string)

Initializes a new instance of a Font object.

Declaration
public Font(RtfFontStyle style, double sizeInPoints, string path)
Parameters
Type Name Description
RtfFontStyle style

Font style attributes.

double sizeInPoints

The font size in points.

string path

The path for raw font file.

Font(RtfFontStyle, double, byte[])

Initializes a new instance of a Font object.

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

Font style attributes.

double sizeInPoints

The font size in points.

byte[] fontData

The raw font file data.