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

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

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v26.1.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