Table of Contents

Constructor XTypeface

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

XTypeface(string)

Initializes a new instance of the XTypeface class.

public XTypeface(string typefaceName)

Parameters

typefaceName string

Name of the typeface.

XTypeface(XFontFamily, XFontStyle, XFontWeight, XFontStretch)

Initializes a new instance of the XTypeface class.

public XTypeface(XFontFamily family, XFontStyle style, XFontWeight weight, XFontStretch stretch)

Parameters

family XFontFamily

The font family of the typeface.

style XFontStyle

The style of the typeface.

weight XFontWeight

The relative weight of the typeface.

stretch XFontStretch

The degree to which the typeface is stretched.