Rendering Comments When Converting Project

Rendering Comments When Converting Project

Aspose.Tasks for C++ API provides PageViewSettings.PrintNotes flag property to determine whether to print notes under PageInfo. This allows rendering of comments when saving the project as an image, HTML or PDF.

1System::SharedPtr<Project> project = System::MakeObject<Project>(dataDir + u"Input.mpp");
2project->get_DefaultView()->get_PageInfo()->get_PageViewSettings()->set_PrintNotes(true);
3project->Save(dataDir + u"ProjectWithComments.pdf", Aspose::Tasks::Saving::SaveFileFormat::PDF);
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.