Skip to main content
All docs
V23.2

DXFont(String, Single, DXFontStyle, DXGraphicsUnit, DXFontAdditionalProperty[]) Constructor

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v23.2.dll

NuGet Package: DevExpress.Drawing

Declaration

public DXFont(
    string name,
    float size,
    DXFontStyle style,
    DXGraphicsUnit unit,
    DXFontAdditionalProperty[] additionalProperties
)

Parameters

Name Type Description
name String

A string that specifies the font name.

size Single

The size of the font.

style DXFontStyle

A DXFontStyle object that specifies the font style.

unit DXGraphicsUnit

A DXGraphicsUnit object that specifies the font’s unit of measure.

additionalProperties DXFontAdditionalProperty[]

An array of DXFontAdditionalProperty objects that are additional font properties.

See Also