Rendering Task Sheet View

In Microsoft Project, the Task Sheet view provides a tabular representation of tasks with their properties, resources, and scheduling details.
With Aspose.Tasks for .NET, you can render this view programmatically into formats like PDF, making it easy to share and archive project data.

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.

Understanding Task Sheet Rendering

Aspose.Tasks exposes the PresentationFormat enumeration to define which project view should be exported.
When set to TaskSheet, the output contains a detailed task table similar to the one in Microsoft Project.

Supported output formats include:

Steps to Render Task Sheet View

To render a project’s Task Sheet view:

  1. Create an instance of the Project class.
  2. Load the source MPP file.
  3. Configure a SaveOptions object with required Timescale settings.
  4. Set PresentationFormat to TaskSheet.
  5. Save the project to PDF or another supported format.

Example: Rendering Task Sheet View to PDF

The following code sample demonstrates how to render an MPP file into a PDF Task Sheet view:

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);

Key Notes

FAQ

Q: Can I render only a specific part of the project?

Q: Does Aspose.Tasks require Microsoft Project installed to render views?

Q: Can I export Task Sheet view to image formats?

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.