Skip to main content
All docs
V24.1

DXFont(String, Single) Constructor

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXFont(
    string name,
    float size
)

Parameters

Name Type Description
name String

A string that specifies the font name.

size Single

The size of the font in points.

See Also