Skip to main content
All docs
V24.1

DXFont.Unit Property

Obtains the font measurement unit.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

[TypeConverter(typeof(DXFontTypeConverter.DXFontDXUnitConverter))]
public DXGraphicsUnit Unit { get; }

Property Value

Type Description
DXGraphicsUnit

The measurement unit of the font.

Available values:

Name Description
World

The world coordinate system unit.

Display

The measurement units of the display device. Typically pixels for video displays, and 1/100 inch for printers.

Pixel

The device pixel.

Point

The printer’s point (1/72 inch).

Inch

The inch.

Document

The document unit (1/300 inch).

Millimeter

The millimeter.

See Also