Skip to main content
All docs
V24.2

DXFont(String, Single, DXFontStyle) Constructor

Initializes a new instance of the DXFont class with specified settings.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public DXFont(
    string name,
    float size,
    DXFontStyle style
)

Parameters

Name Type Description
name String

A string that specifies the font name.

size Single

The size of the font in points.

style DXFontStyle

A DXFontStyle object that specifies the font style.

See Also