Aspose.Tasks.Examples.CSharp.WorkingWithCurrencies.SetCurrencyDigits.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // ExStart:SetCurrencyDigits
            // Create new project and set currency digits
            Project project1 = new Project();
            project1.Set(Prj.CurrencyDigits, 2);
            // ExEnd:SetCurrencyDigits

            // Save project as XML
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);
            project1.Save(dataDir + "project_CurrencyDigits_out.xml", SaveFileFormat.XML);
        }
    }
SetCurrencyDigits