Table of Contents

Method InitStyle

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

InitStyle(FontStyle)

Adds specified style to the style collection.

public FontInfo? InitStyle(FontStyle style)

Parameters

style FontStyle

Style to add.

Returns

FontInfo

FontInfo that corresponds to the specified style.

InitStyle(string, FontStyle, int)

Adds specified style to the style collection.

public FontInfo? InitStyle(string fontName, FontStyle style, int fontHeight)

Parameters

fontName string

Specifies Font Name.

style FontStyle

Style to add.

fontHeight int

Specifies Font Height.

Returns

FontInfo

FontInfo that corresponds to the specified style.