Currency Symbols

Managing Currency Symbols

The CurrencySymbol property exposed by the Project class is used to set or get the currency symbol. This property supports the string data type.

To see a project’s currency symbol in Microsoft Project:

  1. From the Tools menu, select Options.
  2. Select the View tab.

Viewing the currency symbol in Microsoft Project

edit currency symbols

Setting Currency Symbol using Aspose.Tasks

The following code example demonstrates how to set a currency symbol for a project.

1// Create new project and set currency symbol
2System::SharedPtr<Project> project1 = System::MakeObject<Project>();
3project1->Set<System::String>(Prj::CurrencySymbol(), u"$$");

Getting the Currency Symbol using Aspose.Tasks

Access the currency symbol using a project’s CurrencySymbol:

1System::SharedPtr<Project> project1 = System::MakeObject<Project>(dataDir + u"project.mpp");
2System::Console::WriteLine(project1->Get<System::String>(Prj::CurrencySymbol()));
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.