Browse our Products

Aspose.Tasks for C++ 21.1 Release Notes

All Changes

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

Public API and Backwards Incompatible Changes

The following public enumerations were added:Description
Aspose.Tasks.Visualization.Shape.DiamondIndicates Diamond shape.
Aspose.Tasks.Field.TaskSummaryNameThe 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);