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$project_stream =  new FileOutputStream("Project1.xml");
3$saveFileFormat = new SaveFileFormat();
4$project->save($project_stream, $saveFileFormat->XML);
5$project_stream->close();
6print "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.