YearLabelDisplay Enumeration |
Specifies how the year label displays.
Namespace:
Aspose.Tasks
Assembly:
Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntaxpublic enum YearLabelDisplay
Public Enumeration YearLabelDisplay
public enum class YearLabelDisplay
Members
| Member 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.
|
ExamplesShows how to set the year label of project's display options (case 1).
var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp");
project.DisplayOptions.YearLabel = YearLabelDisplay.Y;
See Also