Class
Typeface

Definition

Namespace:Telerik.WinControls.SyntaxEditor.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class Typeface

Inheritance: objectTypeface

Constructors

Typeface(FontFamily, FontStyle, FontWeight, FontStretch)

Initializes a new instance of the class for the specified font family name, , , and values. In addition, a fallback font family is specified.

Declaration

cs-api-definition
public Typeface(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch)

Parameters

fontFamily

FontFamily

The font family of the typeface.

style

FontStyle

The style of the typeface.

weight

FontWeight

The relative weight of the typeface.

stretch

FontStretch

The degree to which the typeface is stretched.

Properties

FontFamily

Gets the name of the font family from which the typeface was constructed.

Declaration

cs-api-definition
public FontFamily FontFamily { get; }

Property Value

FontFamily

The FontFamily from which the typeface was constructed.

Stretch

Gets the stretch value for the . The stretch value determines whether a typeface is expanded or condensed when it is displayed.

Declaration

cs-api-definition
public FontStretch Stretch { get; }

Property Value

FontStretch

A value that represents the stretch value for the typeface.

Style

Gets the style of the .

Declaration

cs-api-definition
public FontStyle Style { get; }

Property Value

FontStyle

A FontStyle value that represents the style value for the typeface.

Weight

Gets the relative weight of the typeface.

Declaration

cs-api-definition
public FontWeight Weight { get; }

Property Value

FontWeight

A FontWeight value that represents the relative weight of the typeface.