Einen Standardkalender in Ruby machen

Contents
[ Hide Show ]

** asspos

So erstellen Sie einen Standardkalender mit ** asspose. Hier sehen Sie Beispielcode.

1project = rjb :: import ('com.aspsient.tasks.project'). new ('test_tasks.mpp')
2
3Cal1 = Project.getCalendars (). Add ("My Cal")
4
5Rjb :: import ('com.asispsis.tasks.calendar'). MakestandardCalendar (CAL1)
6
7project.save ("CreateStandardCalendar.xml", rjb :: import ('com.asispor.tasks.savefileformat'). Xml)
8
9Setzt "Standardkalender erstellt. Überprüfen Sie bitte die Ausgabedatei."

Download Running Code

Download Erstellen eines Standardkalenders (assposes.tasks) von einer der folgenden erwähnten Social -Coding -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.