Rendering Task Sheet View

Contents
[ Hide Show ]

Aspose.Tasks for .NET supports rendering project tasks to a variety of formats, such as PDF. Task sheets can be rendered using PresentationFormat of Aspose.Tasks for .NET API.

Rendering Task Sheet View

The code snippet in this article reads a source MPP file that has a number of tasks with assigned resources and renders these to output PDF using the following steps:

  1. Create an instance of the Project class.
  2. Read the source MPP file.
  3. Initiate the SaveOptions object with required timescale settings.
  4. Set the presentation format to TaskSheet.
  5. Render the project to PDF output.
1Project project = new Project("New Project.mpp");
2
3// Set presentation format Task Sheet and save project as PDF
4SaveOptions options = new PdfSaveOptions();
5options.PresentationFormat = PresentationFormat.TaskSheet;
6project.Save("TaskSheetView_out.pdf", options);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.