Hi There,
I am looking for exporting the Gannt Chart to image using Aspose.Tasks and found couple reference documents:
But the sample codes mentioned in the documentation are not working in the latest Aspose.Tasks 18.11.0.0
Can you please provide me the updated links or any other reference document saying how to do this with Aspose.Tasks?
Thanks,
Srinivas
@srinudhulipalla
Please find details and sample code for exporting Gant Chart to image at the following links:
https://docs.aspose.com/display/tasksnet/Render+Project+to+Multipage+TIFF
https://docs.aspose.com/display/tasksnet/Rendering+Gantt+Chart
Moreover, it can simply be done as follows:
Project project = new Project(dataDir + file);
// Save the project to PNG
project.Save(dataDir + "RenderImage_out.png", SaveFileFormat.PNG);
Please write back to us if you need additional information in this regard.