Rendern -Ressourcenverbrauch oder Blattansichten in PHP rendern
Aspose.Tasks - Rendering Resource Nutzung
Um die Ressourcennutzung mit Aspose.Tasks java für php zu rendern, rufen Sie render_resource_usage Methode von RenderresourceuseAnDSheetView Modul an. Hier sehen Sie Beispielcode.
PHP -Code
1$ project = new Project ('test_tasks.mpp');
2
3$ options = new pdfsaveOptions ();
4
5$ timescale = new Timescale ();
6
7$ options-> settimescale ($ timecale-> tage);
8
9$ präsentationFormat = new PressiveFormat ();
10
11$ options-> setPresentationFormat ($ präsentationFormat-> ressourceusage);
12
13$ project-> speichern ("result_days.pdf", $ option);
14
15$ options-> settimescale ($ timatecale-> dritttonten);
16
17$ project-> speichern ("result_thirdsofmonths.pdf", $ option);
18
19$ options-> settimescale ($ timecale-> Monate);
20
21$ project-> speichern ("result_months.pdf", $ option);
22
23Drucken "erstellte Ressourcennutzungsdateien".
** asspos
Um die Ressourcenblattansicht mithilfe von Aspose.Tasks Java für Php zu rendern, rufen Sie render_resource_sheetview Methode von RenderrresourceuseAnDSheetView Modul an. Hier sehen Sie Beispielcode.
PHP -Code
1$ project = new Project ('test_tasks.mpp');
2
3$ options = new pdfsaveOptions ();
4
5$ präsentationFormat = new PressiveFormat ();
6
7$ options-> setPresentationFormat ($ präsentationFormat-> ressourcencesheet);
8
9$ project-> speichern ("result.pdf", $ option);
10
11Drucken "erstellte Ressourcenblattdatei".
Download Running Code
Download Rendering Ressourcennutzung und Ressourcenblattansicht (ASPOSPE.TASSS) von einer der folgenden erwähnten Social -Coding -Websites: