Convert MPP or MPPX file to PDF

How to convert a .MPP or .MPPX file to PDF using Aspose.Tasks? I would need sample code in C#.


Thanks,
Vivek

Hi Vivek,

Thank you for using Aspose.Tasks.

Please refer to the following code for saving a project as PDF.

//Read the input Project file
ProjectReader reader = new ProjectReader();
Project project = reader.Read(“project1.mpp”);
//Save the Project as PDF
project.Save(“Project1.pdf”, SaveFileFormat.PDF);