Verwaltung von Währungssymbolen

Verwalten von Währungssymbolen

Die von der Projekt Klasse ausgesetzte Currencysymbol -Eigenschaft wird verwendet, um das Währungssymbol festzulegen oder zu erhalten. Diese Eigenschaft unterstützt den String -Datentyp.

Um das Währungssymbol eines Projekts im Microsoft -Projekt zu sehen:

  1. Wählen Sie im Menü Tools aus Optionen.
  2. Wählen Sie die Registerkarte Ansicht.

Anzeigen des Währungssymbols in Microsoft Project

Überprüfen Sie Währungssymbole im Microsoft Project 2013

Währungssymbol mit Aspose.Tasks einstellen

Das folgende Beispiel zeigt, wie ein Währungssymbol für ein Projekt festgelegt wird.

1// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java
2// The path to the documents directory.
3String dataDir = Utils.getDataDir(CurrencySymbols.class);
4
5Project project = new Project();
6project.set(Prj.CURRENCY_SYMBOL, "$$");

Getting Currency Symbol using Aspose.Tasks

Access the currency symbol using a project’s CurrencySymbol:

1// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java
2// The path to the documents directory.
3String dataDir = Utils.getDataDir(CurrencySymbols.class);
4
5Project project = new Project(dataDir + "project5.mpp");
6System.out.println(project.get(Prj.CURRENCY_SYMBOL));
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.