Table of Contents

Method Get

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

Get(string, double, FontStyle)

Creates font with the specified parameters.

public static Font Get(string familyName, double emSize, FontStyle style = FontStyle.Regular)

Parameters

familyName string

A string representation of the font family for the new font.

emSize double

The em-size, in points, of the new font.

style FontStyle

The FontStyle of the new font.

Returns

Font