// The path to the documents directory. System::String dataDir = RunExamples::GetDataDir(System::Reflection::MethodBase::GetCurrentMethod(ASPOSE_CURRENT_FUNCTION)->get_DeclaringType().get_FullName()); // Create a project instance System::SharedPtr project = System::MakeObject(dataDir + u"WriteCurrencyProperties.mpp"); // Set currency properties project->Set(Prj::CurrencyCode(), u"AUD"); project->Set(Prj::CurrencyDigits(), 2); project->Set(Prj::CurrencySymbol(), u"$"); project->Set(Prj::CurrencySymbolPosition(), Aspose::Tasks::CurrencySymbolPositionType::After); // Save the project as XML project file project->Save(dataDir + u"WriteCurrencyProperties_out.xml", Aspose::Tasks::Saving::SaveFileFormat::XML);