Aspose.Tasks for C++ library allows the developers to add Tasks generation & recognition capabilities to their own C++ applciations.
Aspose.Tasks for C++ offers Project management APIs that enable C++ applications to not only read and manipulate Microsoft Project® documents, but also write Microsoft Project® documents in both MPP and XML formats - all without using Microsoft Project® itself.
- Convert project data to other supported file formats.
- Create an empty project file and save it as XML, to stream or to Microsoft Project format.
- Supports encoding of the
MPX
files. - Read and write default properties of projects to speed up the project setup.
- Set the project calculation mode to be manual, automatic or none.
- Read and write project calendar properties, such as, fiscal year and weekday properties.
- Perform project rescheduling from start, finish date or reschedule only the incomplete tasks.
- Offers various project utility features, such as, calculate critical path, read filter data, extract embedded objects etc.
- Use Task, Resource and Project fields as a formula in expressions.
- Identify Cross Project Tasks, get predecessor tasks and cross project predecessor tasks.
- Supports working with task links, baselines & project resources.
Microsoft Project®: MPP, MPT, MPX, XML
Primavera: P6 XML, PM XER
Microsoft Excel®: XLSX
Fixed Layout: PDF
Images: JPEG, PNG, TIF, SVG
Text: TXT
Others: HTML
Are you ready to give Aspose.Tasks for C++ a try? Simply execute Install-Package Aspose.Tasks.Cpp
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Tasks for C++ and want to upgrade the version, please execute Update-Package Aspose.Tasks.Cpp
to get the latest version.
System::SharedPtr<Project> project = System::MakeObject<Project>(u"template.mpp");
System::SharedPtr<HtmlSaveOptions> option = System::MakeObject<HtmlSaveOptions>();
project->Save(u"output.html", option);
// create project instance
System::SharedPtr<Project> project = System::MakeObject<Project>();
// add task, sub task and save project
System::SharedPtr<Task> task = project->get_RootTask()->get_Children()->Add(u"Summary1");
System::SharedPtr<Task> subtask = task->get_Children()->Add(u"Subtask1");
project->Save(u"output.xml", Aspose::Tasks::Saving::SaveFileFormat::XML);
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License