Skip to main content
All docs
V25.1
  • RequestTimescaleRulersEventArgs.GetTimescaleUnitWidth(GanttTimescaleUnit) Method

    Returns the width of the specified measure unit on the timescale.

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.1.dll

    NuGet Package: DevExpress.Win.Gantt

    Declaration

    public double GetTimescaleUnitWidth(
        GanttTimescaleUnit unit
    )

    Parameters

    Name Type Description
    unit GanttTimescaleUnit

    A value that specifies the timescale measure unit.

    Returns

    Type Description
    Double

    A value that specifies the width of the specified measure unit on the timescale.

    See Also