Aspose.Tasks.Examples.CSharp.Articles.RenderToXAML.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

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

            // ExStart:RenderToXAML
            Project project = new Project(dataDir + "Project2.mpp");
            string resultFile = "RenderToXAML_out.xaml";
            project.Save(dataDir + resultFile, SaveFileFormat.XAML);
            // ExEnd:RenderToXAML
        }
    }
RenderToXAML