Table of Contents

Constructor MediaFont

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

MediaFont(FontFamily, double, FontStretch, FontStyle, FontWeight)

Initializes a new instance of the MediaFont class with specified parameters.

public MediaFont(FontFamily family, double size, FontStretch stretch, FontStyle style, FontWeight weight)

Parameters

family FontFamily

Specifies FontFamily of this new instance.

size double

Specifies size of this new instance.

stretch FontStretch

Specifies FontStretch of this new instance.

style FontStyle

Specifies FontStyle of this new instance.

weight FontWeight

Specifies FontWeight of this new instance.

MediaFont(FontFamily, double, FontStyle)

Initializes a new instance of the MediaFont class with specified parameters.

public MediaFont(FontFamily family, double size, FontStyle style)

Parameters

family FontFamily

Specifies FontFamily of this new instance.

size double

Specifies size of this new instance.

style FontStyle

Specifies FontStyle of this new instance.