Aspose.Tasks for .NET 24.4 (DLLs-only package) helps .NET developers to work with project management tasks more efficiently and effectively.
Upgraded CSV Export
The C# project management API enables building PowerPoint processing solutions and improves usability for exporting project data to CSV format in version 24.4. Please check out the following coding sample that illustrates exporting an MPP file to CSV format with optimized usability:
var project = new Project("test.mpp");
CsvOptions options = new CsvOptions();
options.TextDelimiter = CsvTextDelimiter.Tab;
var view = project.DefaultView;
options.View = ProjectView.GetDefaultGanttChartView();
options.View.Columns.Clear();
foreach (var t in view.Table.TableFields)
{
var columnTitle = string.IsNullOrEmpty(t.Title) ? FieldHelper.GetDefaultFieldTitle(t.Field) : t.Title;
options.View.Columns.Add(new GanttChartColumn(columnTitle, 10, t.Field));
}
project.Save("output.csv", options);
Source*
Manage Material Resources
This version of the Aspose.Tasks for .NET API helps users set variable consumption rates for material resources within their .NET project manipulation apps.
Control Legend Rendering
C# developers can now control legend rendering easily in exported documents using the latest enhancements in the .NET API. This code example highlights rendering the legend in a Project (MPP) document and exporting it as a PDF document:
var project = new Project("test.mpp");
var view = project.Views.GetByName("&Gantt Chart");
view.PageInfo.Legend.LegendOn = Legend.AfterLastPage;
PdfSaveOptions so = new PdfSaveOptions()
{
LegendDrawingOptions = LegendDrawingOptions.DefinedInView,
StartDate = project.StartDate,
EndDate = project.FinishDate,
ViewSettings = view
};
// The legend is rendered on each page.
project.Save("output.pdf", so);
Source*
Bug Fixes
Aspose.Tasks for .NET 24.4 delivers several bug fixes related to rendering and data accuracy issues.
Public API and Backwards Incompatible Changes
We have added numerous public types, enums, methods, and properties in this API release while removing various API members to provide our users with a stable and hassle-free presentation manipulation experience.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Tasks for .NET 24.4 Release Notes.