SaveOptionsTimescaleTier Property

Note: This API is now obsolete.

Gets or sets the timescale tier of the Gantt Chart view. The default value is null.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.11
[ObsoleteAttribute("This property is not used anymore and will be removed in version 20.12. Use view's timescale settings (*TimescaleTier properties) or SaveOptions.Timescale property to control rendering of timescale tiers.")]
public TimescaleTier TimescaleTier { get; set; }

Property Value

Type: TimescaleTier
Shows how to work with timescale tiers through save options.
var project = new Project(DataDir + "CreateProject2.mpp");

// ...
var options = new ImageSaveOptions(SaveFileFormat.PNG)
    // set the timescale tier of the Gantt Chart view which is used
    // to control a scale of output image
    TimescaleTier = new TimescaleTier(TimescaleUnit.Months, 1)

// ...

// save the project as an image
project.Save(OutDir + "WorkWithTimescaleTier_out.png", options);
See Also