Creating an Empty Project File in PHP

Aspose.Tasks - Creating an Empty Project File

To create an Empty Project File using Aspose.Tasks Java for PHP, simply invoke CreateEmptyProject module. Here you can see example code.

 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
11print "Created project Successfully.";

Download Running Code

Download Creating an Empty Project File (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.