Skip to main content
A newer version of this page is available. .

RequestTimescaleRulersEventArgs.GetTimescaleUnitWidth(GanttTimescaleUnit) Method

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

Namespace: DevExpress.XtraGantt

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