FontExtensions

System.FontExtensions

Namespace: System

Assembly: Wisej.Framework (4.0.0.0)

Extends the Fontarrow-up-right class.

public class FontExtensions

Methods

Change(font, style)

Changes the FontStylearrow-up-right of the specified font .

Parameter
Type
Description

Returns: Fontarrow-up-right. A new Fontarrow-up-right with the same size and family as font and the specified style .

Change(font, size)

Changes the size of the specified font .

Parameter
Type
Description

font

Base font.

size

New size using the same GraphicsUnitarrow-up-right of the original font .

Returns: Fontarrow-up-right. A new Fontarrow-up-right with the new size and same family as font .

Change(font, size, unit)

Changes the size of the specified font .

Parameter
Type
Description

font

Base font.

size

New size using the specified unit .

Returns: Fontarrow-up-right. A new Fontarrow-up-right with the new size and unit .

Change(font, size, style, unit)

Changes the size and style of the specified font .

Parameter
Type
Description

Returns: Fontarrow-up-right. A new Fontarrow-up-right with the new size, unit , and style .

Copy(font)

Creates a copy of the Fontarrow-up-right preserving the OriginalFontNamearrow-up-right.

Parameter
Type
Description

Returns: Fontarrow-up-right. A new Fontarrow-up-right identical to the original font..

IsThemeFont(font)

Returns whether the specified font is a theme font.

Parameter
Type
Description

font

Font to check.

Returns: Booleanarrow-up-right. True if font is a theme font.

Last updated

Was this helpful?