Enum HourLabelDisplay

HourLabelDisplay enumeration

Specifies how the hour label displays.

public enum HourLabelDisplay

Values

NameValueDescription
H0“h” label.
Hr1“hr” label.
Hour2“hour(s)” label.

Examples

Shows how to set the hour label of project’s display options (case 1).

var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp");

// ...
// set how the hour label is displayed
project.DisplayOptions.HourLabel = HourLabelDisplay.H;

// ...

See Also