Kashif Iqbal March 18, 20180 Comments

Eliminate Gap Between Tasks List and Footer with Aspose.Tasks for .NET 18.3

Eliminate Gap Between Tasks List and Footer with Aspose.Tasks for .NET 18.3

March 18, 2018
Share on FacebookTweet about this on TwitterShare on LinkedIn

aspose-tasks-for-netWe 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.

Eliminating Gap between Tasks List and Page Footer

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.

  • Product Documentation – Detailed API documentation with code examples and details about API functional areas
  • Aspose.Tasks Forum – Our online support forum where we address your queries and inquiries

 

 

Leave a comment

Posted inAspose.Tasks Product Family
 

Related Articles