Table of Contents

Method WithStyle

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

WithStyle(FontStyle)

Returns font with same name and size, but with different FontStyle.

public virtual Font WithStyle(FontStyle style)

Parameters

style FontStyle

New font style.

Returns

Font

Remarks

This function saves created fonts in the base font and is memory efficient. creates