PHPでのタスクの使用ビューをレンダリングします

Aspose.Tasks -レンダリングタスクの使用ビュー

Aspose.Tasks java for phpを使用してタスクの使用ビューをレンダリングするには、rendertaskusageviewモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

 1$ project = new Project( 'test_tasks.mpp');
 2
 3$ options = new pdfsaveoptions();
 4
 5$ timescale = new TimesCale();
 6
 7$ options-> sittimescale($ timescale-> days);
 8
 9$ PresentionFormat = new PresentionFormat();
10
11$ options-> setPresentationFormat($ PresentionFormat-> taskUsage);
12
13$ project-> save( "task_days.pdf"$ options);
14
15$ options-> sittimescale($ timescale-> thirdsofmonths);
16
17$ project-> save( "task_thirdsofmonths.pdf"$ options);
18
19$ options-> sittimescale($ timescale-> months);
20
21$ project-> save( "task_months.pdf"$ options);
22
23「作成されたタスク使用ビューファイル」を印刷します。 ";

実行中のコードをダウンロード

ダウンロード**タスクの使用ビュー(Aspose.Tasks)以下のソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.