Aspose.Tasks.Examples.CSharp.WorkingWithProjects.Printing.PrintTheProject.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // ExStart:PrintTheProject
            // The path to the documents directory
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // Read the input Project file
            Project project = new Project(dataDir + "Project2.mpp");
            project.Print();
            // ExEnd:PrintTheProject
        }
    }
PrintTheProject