Timescale

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class Timescale extends System.Enum

Defines options which specifies how to render timescale in Gantt Chart, Task Usage or Resource Usage views when the project is exported to a graphic format.

Fields

FieldDescription
DaysPredefined two-tiered timescale where minimal level of detail is one day.
DefinedInViewUse timescale settings defined in project view’s properties: GanttChartView.BottomTimescaleTier(GanttChartView.getBottomTimescaleTier()/GanttChartView.setBottomTimescaleTier(TimescaleTier)), GanttChartView.MiddleTimescaleTier(GanttChartView.getMiddleTimescaleTier()/GanttChartView.setMiddleTimescaleTier(TimescaleTier)), GanttChartView.TopTimescaleTier(GanttChartView.getTopTimescaleTier()/GanttChartView.setTopTimescaleTier(TimescaleTier)).
MonthsPredefined two-tiered timescale where minimal level of detail is one month.
ThirdsOfMonthsPredefined two-tiered timescale where level of detail is one third of month.

Days

public static final int Days

Predefined two-tiered timescale where minimal level of detail is one day.

DefinedInView

public static final int DefinedInView

Use timescale settings defined in project view’s properties: GanttChartView.BottomTimescaleTier(GanttChartView.getBottomTimescaleTier()/GanttChartView.setBottomTimescaleTier(TimescaleTier)), GanttChartView.MiddleTimescaleTier(GanttChartView.getMiddleTimescaleTier()/GanttChartView.setMiddleTimescaleTier(TimescaleTier)), GanttChartView.TopTimescaleTier(GanttChartView.getTopTimescaleTier()/GanttChartView.setTopTimescaleTier(TimescaleTier)). Valid for formats which contains view data. For example, projects which are read from MPP format.


If timescale settings are not set for the view, predefined Timescale.Days setting is used instead.

Months

public static final int Months

Predefined two-tiered timescale where minimal level of detail is one month.

ThirdsOfMonths

public static final int ThirdsOfMonths

Predefined two-tiered timescale where level of detail is one third of month.