aspose-tasks-for-net

We are pleased to announce the release of Aspose.Tasks for .NET 18.3. This month’s release introduces a new feature for reducing the gap between the tasks list and page footer information. It also includes improvements in terms of bug fixes that further add to the overall API stability. For a detailed note on what is new and fixed, please visit the release notes section of API documentation.

The rendering capabilities of project data to various formats is one of the powerful features of Aspose.Tasks API. We have further improved this functionality by providing the feature of reducing gap between project’s tasks list and footer information in output. This improves the visualization of project’s rendered information in the output. The ReduceFooterGap property of SaveOptions class can be used to achieve this as shown in the following code sample.

//Read the MPP file.
Project project = new Project(dataDir + "CreateProject2.mpp");

//Use ReduceFooterGap property to reduce the gap between list of tasks and Footer
var imageSaveOptions =
    new ImageSaveOptions(SaveFileFormat.PNG) { ReduceFooterGap = true, /* set to true */ SaveToSeparateFiles = true, PageSize = PageSize.A0, Timescale = Timescale.Days };
project.Save(dataDir + "ReducingGapBetweenTasksListAndFooter_out.png", (SaveOptions)imageSaveOptions);

var pdfSaveOptions = new PdfSaveOptions { ReduceFooterGap = true, /* set to true */ SaveToSeparateFiles = true, PageSize = PageSize.A0, Timescale = Timescale.Days };
project.Save(dataDir + "ReducingGapBetweenTasksListAndFooter_out.pdf", (SaveOptions)pdfSaveOptions); 

API Resources

You may visit the following API resources for getting started and working with the API.