SaveOptionsShowProjectSummaryTask Property

Note: This API is now obsolete.

Gets or sets a value indicating whether project summary task if set to true.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.5
[ObsoleteAttribute("This property is not used anymore and will be removed in version 20.11. Use project.Get(Prj.ShowProjectSummaryTask) and project.Set(Prj.ShowProjectSummaryTask, value) methods instead.")]
public bool ShowProjectSummaryTask { get; set; }

Property Value

Type: Boolean
Shows how to set a value indicating that subtasks on the summary task bar must be rolled up.
var project = new Project(DataDir + "Project2.mpp");

var options = new PdfSaveOptions
    PresentationFormat = PresentationFormat.GanttChart,
    ShowProjectSummaryTask = true,
    FitContent = true,
    RollUpGanttBars = true,

    // OR
    // options.RollUpGanttBars = false;
    // DrawNonWorkingTime = true,
    PageSize = PageSize.A3

project.Save(OutDir + "RenderGanttChartWithBarsRolledUp_out.pdf", options);
See Also