Skip to main content
All docs
V25.1
  • DXFont.GetHeight(DXGraphicsUnit) Method

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

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    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