Browse our Products

Aspose.Tasks for .NET 21.3 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-4702Add a feature to set the document name while printingNew Feature
TASKSNET-4705Add writing of existing values of enterprise extended attributesEnhancement
TASKSNET-4715Fix broken page range printingBug
TASKSNET-4704Fix missing column lines while printing to PDFBug
TASKSNET-4703Fix printing of extra columns lines when printing to PDFBug
TASKSNET-4700Fix wrong Resource Usage when exporting MPP - Microsoft Project 365Bug
TASKSNET-4699Task names disappearing when saving MPP fileBug
TASKSNET-4673Fix disappearing of task names after MPP resaveBug
TASKSNET-4721Fix incorrect timephased data shown when .MPP file is opened in MS ProjectBug

Public API and Backwards Incompatible Changes

The following public methods and properties were added:Description
Aspose.Tasks.Project.Print(System.Drawing.Printing.PrinterSettings,Aspose.Tasks.Saving.PrintOptions,System.String)Prints project according to the specified printer settings, custom save options and the specified document name using the standard (no User Interface) print controller.
The following public enumerations were added:Description
Aspose.Tasks.Field.TaskHyperlinkIdRepresents the Hyperlink ID (Task) field.

Examples

Related issue: TASKSNET-4702 - Add a feature to set the document name while printing

New overload for Project.Print method was added so that a project can be printed using the specified document name, PrinterSettings and PrintOptions:

Project project = new Project("test.mpp");
PrintOptions options = new PrintOptions();
PrinterSettings printerSettings = new PrinterSettings
{
    FromPage = 1,
    ToPage = 1,
    PrintRange = PrintRange.SomePages
};
project.Print(printerSettings, options, "Print Document Name");