Printing a Project doesn't work with PrintOptiosn

Hi,


We have been trying Printing Large Files from here: Printing a Microsoft Project (MPP/XML) files but always get NullReferenceException at Print(options) code. To mention, I have a physical printer attached with my system.


// Read the input Project file
Project project = new Project(dataDir + “project.mpp”);

PrintOptions options = new PrintOptions();
options.Timescale = Timescale.ThirdsOfMonths;
if (project.GetPageCount(Timescale.ThirdsOfMonths) <= 280)
project.Print(options);

Hi Robert,


Thank you for writing to Aspose support team.

This issue is re-produced even with a small file and logged under Id:TASKSNET-1724 for further investigation by the product team. You will be automatically notified once any update is received in this regard.