Managing 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:
- From the Tools menu, select Options.
- Select the View tab.
Viewing the currency symbol in Microsoft Project
Setting Currency Symbol using Aspose.Tasks
The following example shows how to set a currency symbol for a project.
1// Create new project and set currency symbol
2Project project = new Project();
3project.Set(Prj.CurrencySymbol, "$$");
Getting Currency Symbol using Aspose.Tasks
Access the currency symbol using a project’s CurrencySymbol:
1Project project = new Project("New Project.mpp");
2Console.WriteLine(project.Get(Prj.CurrencySymbol));