Enum YearLabelDisplay
YearLabelDisplay enumeration
Specifies how the year label displays.
public enum YearLabelDisplay
Values
Name | Value | Description |
---|---|---|
Y | 0 | Sets the Years list in MS Project as mo. |
Yr | 1 | Sets the Years list in MS Project as mon. |
Year | 2 | 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
- namespace Aspose.Tasks
- assembly Aspose.Tasks