프로젝트에서 페이지 수를 얻으십시오
Contents
[
Hide
Show
]Aspose.Tasks- 프로젝트에서 페이지 수 받기
Aspose.Tasks java for php를 사용하여 프로젝트에서 페이지 수를 얻으려면 getNumberofpages 모듈을 호출하십시오. 여기에서 예제 코드를 볼 수 있습니다.
PHP 코드
1$ project = 새 프로젝트 ( 'test_tasks.mpp');
2
3$ presentation_format = new PresentationFormat ();
4
5$ timescale = new TimesCale ();
6
7"페이지 수 ="인쇄. (문자열) $ project-> getPageCount ($ presentation_format-> resourceusage, $ timescale-> days);
8
9"\ nnumber of pages ="를 인쇄하십시오. (문자열) $ project-> getPageCount ($ presentation_format-> resourceusage, $ timescale-> 달);
10
11"\ nnumber of pages ="를 인쇄하십시오. (문자열) $ project-> getPageCount ($ presentation_format-> resourceusage, $ timescale-> ThredSofmonths);
실행 코드 다운로드
아래에 언급 된 소셜 코딩 사이트 중 하나에서 프로젝트에서 페이지 수를 다운로드하십시오 (Aspose.Tasks) ** :