Aspose.Tasks for C++ 21.1 Release Notes

All Changes

Key Summary Issue Type
TASKSNET-4597 Add support for ‘Task Summary Name’ field. Enhancement
TASKSNET-4631 Fix incorrect position of not fit task labels when rendering Gantt chart view Bug
TASKSNET-4628 Fix incorrect error message shown when trying to read a list of projects from empty Project Online account Bug
TASKSNET-4599 Fix application of bar styles with non-default names when rendering Gantt chart view Bug
TASKSNET-4588 Fix exception when trying to add a new task in XER project Bug
TASKSNET-4601 Fix duplicated resources when reading XER of P6XML file Bug

Public API and Backwards Incompatible Changes

The following public enumerations were added: Description
Aspose.Tasks.Visualization.Shape.Diamond Indicates Diamond shape.
Aspose.Tasks.Field.TaskSummaryName The name of the summary task associated with the task.
The following public methods and properties were added: Description
Aspose.Tasks.View.#ctor(ViewScreen) Initializes a new instance of the class which can be displayed in the specified ViewScreen.

Examples

Related issue: TASKSNET-4597 - Field ‘TaskSummaryName’ can be used in view’s columns

In order to show ‘TaskSummaryName’ column in exported document the next code sample can be used:

auto field = System::MakeObject<TableField>();
field->set_Field(Aspose::Tasks::Field::TaskSummaryName);
field->set_Title(u"Task Summary Name");
field->set_Width(30);
    
project->get_Views()->ToList()->idx_get(0)->get_Table()->get_TableFields()->Add(field);