Aufgabenverbrauchsansicht in Ruby Rendering

Aspose.Tasks - Rendering Task Nutzung ansicht

So rendern Sie die Aufgabennutzungsansicht mit ** asspose. Hier sehen Sie Beispielcode.

 1project = rjb :: import ('com.aspsient.tasks.project'). new ('test_tasks.mpp')
 2
 3options = rjb :: import ('com.aspsient.tasks.pdfsaveOptions'). Neu
 4
 5options.settimescale (rjb :: Import ('com.aspsis.tasks.timescale'). Tage)
 6
 7options.setPresentationFormat (rjb :: import ('com.aspsis.tasks.PresentationFormat'). TaskUsage)
 8
 9project.save ("Task_days.pdf", Optionen)
10
11Optionen.SettimesCale (RJB :: Import ('com.aspsis.tasks.timescale').
12
13project.save ("task_thirdsofmonths.pdf", Optionen)
14
15options.settimescale (rjb :: Import ('com.aspsis.tasks.timescale'). Monate)
16
17project.save ("task_months.pdf", Optionen)
18
19Stellt "Erstellte Aufgabennutzungsansichtsdateien".

Download Running Code

Download Rendering Task Nutzungsansicht (Aspose.Tasks) von einer der folgenden erwähnten Social -Coding -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.