Click or drag to resize

YearLabelDisplay Enumeration

Specifies how the year label displays.

Namespace:  Aspose.Tasks
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntax
public enum YearLabelDisplay
Members
  Member nameValueDescription
Y0 Sets the Years list in MS Project as mo.
Yr1 Sets the Years list in MS Project as mon.
Year2 Sets the Years list in MS Project as month.
Examples
Shows how to set the year label of project's display options (case 1).
var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp");

// ...
// set how the year label is displayed
project.DisplayOptions.YearLabel = YearLabelDisplay.Y;

// ...
See Also