Saving a Project as PDF in PHP

Aspose.Tasks - Saving a Project as PDF

To Save a Project as PDF using Aspose.Tasks Java for PHP, simply invoke SaveProjectAsPdf module. Here you can see example code.

PHP Code

$project = new Project('test_tasks.mpp');
$options = new PdfSaveOptions();
$timescale = new Timescale();
$presentationFormat = new PresentationFormat();
$project->save("project.pdf", $options);
print "Saved project as pdf, please check the output file.";

Download Running Code

Download Saving a Project as PDF (Aspose.Tasks) from any of the below mentioned social coding sites: