Share via


Application.BarRounding Method

Project Developer Reference

Controls whether the start times of tasks are reflected by their corresponding task bars or the task bars are rounded to full days.

Syntax

expression.BarRounding(On)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
On Optional Boolean True if bars round to the nearest day. The default value is True.

Return Value
Boolean

Remarks

The BarRounding method affects only how tasks display on the Gantt Chart or Calendar. The duration of the tasks is not affected.

See Also