UsageView.BottomTimescaleTier
Contents
[
Hide
]UsageView.BottomTimescaleTier property
Gets or sets settings of view’s bottom timescale tier. TimescaleTier
public TimescaleTier BottomTimescaleTier { get; set; }
Examples
Shows how to render task usage view with timescale settings defined in view settings.
var project = new Project(DataDir + "TaskUsageView.mpp");
var view = project.Views.ToList()[2] as TaskUsageView;
view.TopTimescaleTier.Unit = TimescaleUnit.None;
view.MiddleTimescaleTier.Unit = TimescaleUnit.Weeks;
view.MiddleTimescaleTier.Label = DateLabel.WeekDddMDd;
view.MiddleTimescaleTier.Count = 1;
view.BottomTimescaleTier.Unit = TimescaleUnit.Days;
view.BottomTimescaleTier.Label = DateLabel.DayMmDd;
view.BottomTimescaleTier.Count = 1;
// Define the SaveOptions and specify that TaskUsageView timescale settings should be used.
SaveOptions options = new PdfSaveOptions
{
Timescale = Timescale.DefinedInView,
PresentationFormat = PresentationFormat.TaskUsage
};
project.Save(OutDir + "TaskUsageView_CustomTimescale_out.pdf", options);
See Also
- class TimescaleTier
- class UsageView
- namespace Aspose.Tasks
- assembly Aspose.Tasks