Get Number of Pages in Project
Contents
[
Hide
Show
]Aspose.Tasks - Get Number of Pages in Project
To get Number of Pages in Project using Aspose.Tasks Java for PHP, simply invoke GetNumberOfPages module. Here you can see example code.
PHP Code
1$project = new Project('test_tasks.mpp');
2
3$presentation_format = new PresentationFormat();
4
5$timescale = new Timescale();
6
7print "Number of Pages = " . (string)$project->getPageCount($presentation_format->ResourceUsage, $timescale->Days);
8
9print "\nNumber of Pages = " . (string)$project->getPageCount($presentation_format->ResourceUsage, $timescale->Months);
10
11print "\nNumber of Pages = " . (string)$project->getPageCount($presentation_format->ResourceUsage, $timescale->ThirdsOfMonths);
Download Running Code
Download Get Number of Pages in Project (Aspose.Tasks) from any of the below mentioned social coding sites: