Skip to main content

RequestTimescaleRulersEventArgs.GetTimescaleUnitWidth(GanttTimescaleUnit) Method

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.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