Back to Devexpress

DXFont.Unit Property

corelibraries-devexpress-dot-drawing-dot-dxfont-30fd0a3e.md

latest1.3 KB
Original Source

DXFont.Unit Property

Obtains the font measurement unit.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public DXGraphicsUnit Unit { get; }
vb
Public ReadOnly Property Unit As DXGraphicsUnit

Property Value

TypeDescription
DXGraphicsUnit

The measurement unit of the font.

|

Available values:

NameDescription
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

DXFont Class

DXFont Members

DevExpress.Drawing Namespace