Rendering Task Usage View in PHP
Contents
[
Hide
Show
]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
3$options = new PdfSaveOptions();
4
5$timescale = new Timescale();
6
7$options->setTimescale($timescale->Days);
8
9$presentationFormat = new PresentationFormat();
10
11$options->setPresentationFormat($presentationFormat->TaskUsage);
12
13$project->save("task_days.pdf", $options);
14
15$options->setTimescale($timescale->ThirdsOfMonths);
16
17$project->save("task_thirdsOfMonths.pdf", $options);
18
19$options->setTimescale($timescale->Months);
20
21$project->save("task_months.pdf", $options);
22
23print "Created task usage view files.";
Download Running Code
Download Rendering Task Usage View (Aspose.Tasks) from any of the below mentioned social coding sites: