Rendering Task Usage View

Aspose.Tasks for Java supports rendering project tasks to a variety of formats, such as PDF. Task usage can be rendered using Aspose.Tasks' PresentationFormat with different timescale settings like Days, ThirdOfMonths and Months.

Rendering Task Usage View

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

  1. Create an instance of Project Reader.
  2. Read the source MPP file.
  3. Initiate the SaveOptions object with the required timescale settings.
  4. Set the presentation format to TaskUsage.
  5. Render the project to PDF output.

Rendering Details Column to Output in Task Usage View

The details column included in the MPP file can be rendered to the output using the View’s DisplayDetailsHeaderColumn property. The following code sample illustrates the usage of this property.