Rendering Task Usage View in PHP

Aspose.Tasks - Rendering Task Usage View

To render Task Usage View using Aspose.Tasks Java for PHP, simply invoke RenderTaskUsageView module. Here you can see example code.

 1$project = new Project('test_tasks.mpp');
 2$options = new PdfSaveOptions();
 3$timescale = new Timescale();
 4$options->setTimescale($timescale->Days);
 5$presentationFormat = new PresentationFormat();
 6$options->setPresentationFormat($presentationFormat->TaskUsage);
 7$project->save("task_days.pdf", $options);
 8$options->setTimescale($timescale->ThirdsOfMonths);
 9$project->save("task_thirdsOfMonths.pdf", $options);
10$options->setTimescale($timescale->Months);
11$project->save("task_months.pdf", $options);
12print "Created task usage view files.";

Download Running Code

Download Rendering Task Usage View (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.