Skip to main content
All docs
V24.2

DXFont.GetHeight(DXGraphicsUnit) Method

Gets the font’s line spacing in the specified graphics units.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public float GetHeight(
    DXGraphicsUnit graphicsUnit
)

Parameters

Name Type Description
graphicsUnit DXGraphicsUnit

An enumeration value that indicates the measurement unit for the line spacing.

Returns

Type Description
Single

The line spacing of the font.

See Also