PHPで空のプロジェクトファイルを作成します

Aspose.Tasks -空のプロジェクトファイルを作成

Aspose.Tasks java for phpを使用して空のプロジェクトファイルを作成するには、creatementyprojectモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

 1$ project = new Project();
 2
 3$ project_stream = new fileoutputStream( "project1.xml");
 4
 5$ savefileformat = new SaveFileFormat();
 6
 7$ project-> save($ project_stream、$ savefileformat-> xml);
 8
 9$ project_stream-> close();
10
11「作成されたプロジェクトを正常に作成しました。」;

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

ダウンロード空のプロジェクトファイル(Aspose.Tasks)の作成以下のソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.