当前位置: 首页>>代码示例>>C#>>正文


C# Project.SaveReport方法代码示例

本文整理汇总了C#中Project.SaveReport方法的典型用法代码示例。如果您正苦于以下问题:C# Project.SaveReport方法的具体用法?C# Project.SaveReport怎么用?C# Project.SaveReport使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Project的用法示例。


在下文中一共展示了Project.SaveReport方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveTaskCostOverviewReport
            Project project1 = new Project(dataDir + "Software Development.mpp");
            project1.SaveReport(dataDir + "TaskCostOverview_out.pdf", ReportType.TaskCostOverview);
            // ExEnd:SaveTaskCostOverviewReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveTaskCostOverviewReport.cs

示例2: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveResourceCostOverviewReport
            Project project1 = new Project(dataDir + "OzBuild 16 Orig.mpp");
            project1.SaveReport(dataDir + "ResourceCostOverview_out.pdf", ReportType.ResourceCostOverview);
            // ExEnd:SaveResourceCostOverviewReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveResourceCostOverviewReport.cs

示例3: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveCriticalTasksReport
            Project project1 = new Project(dataDir + "Residential Construction.mpp");
            project1.SaveReport(dataDir + "CriticalTasks_out.pdf", ReportType.CriticalTasks);
            // ExEnd:SaveCriticalTasksReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveCriticalTasksReport.cs

示例4: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveSlippingTasksReport
            Project project1 = new Project(dataDir + "Homemoveplan.mpp");
            project1.SaveReport(dataDir + "SlippingTasks_out.pdf", ReportType.SlippingTasks);
            // ExEnd:SaveSlippingTasksReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveSlippingTasksReport.cs

示例5: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveOverallocatedResourcesReport
            Project project1 = new Project(dataDir + "Software Development Plan.mpp");
            project1.SaveReport(dataDir + "OverAllocatedResources_out.pdf", ReportType.OverallocatedResources);
            // ExEnd:SaveOverallocatedResourcesReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveOverallocatedResourcesReport.cs

示例6: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveBestPracticeAnalyzerReport
            Project project1 = new Project(dataDir + "Cyclic stucture.mpp");
            project1.SaveReport(dataDir + "BestPracticeAnalyzer_out.pdf", ReportType.BestPracticeAnalyzer);
            // ExEnd:SaveBestPracticeAnalyzerReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveBestPracticeAnalyzerReport.cs

示例7: Run

        public static void Run()
        {
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);

            // ExStart:SaveProjectOverviewReport
            Project project1 = new Project(dataDir + "Cyclic stucture.mpp");
            project1.SaveReport(dataDir + "ProjectOverView_out.pdf", ReportType.ProjectOverview);
            // ExEnd:SaveProjectOverviewReport
        }
开发者ID:aspose-tasks,项目名称:Aspose.Tasks-for-.NET,代码行数:9,代码来源:SaveProjectOverviewReport.cs


注:本文中的Project.SaveReport方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。