Получить количество страниц в проекте

Aspose.Tasks - Получить количество страниц в проекте

Aspose.Tasks Чтобы получить количество страниц в проекте, используя aspose.tasks java для php, просто вызовите getNumberOfPages Модуль. Здесь вы можете увидеть пример кода.

PHP -код

 1$ project = new Project ('test_tasks.mpp');
 2
 3$ presentation_format = new PresentationFormat ();
 4
 5$ timesscale = new Timesscale ();
 6
 7Печать "Количество страниц =". (String) $ project-> getPageCount ($ presentation_format-> resourceusage, $ timescale-> days);
 8
 9Печать "\ nnumber of pages =". (String) $ Project-> getPageCount ($ presentation_format-> resourceusage, $ timesscale-> месяцы);
10
11Печать "\ nnumber of pages =". (String) $ project-> getPageCount ($ presentation_format-> resourceusage, $ timescale-> thirdsofmonths);

Скачать запуск кода

Скачать Получить количество страниц в Project (aspose.tasks) С любого из указанных ниже сайтов социального кодирования:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.