本文整理汇总了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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}
示例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
}