Project.SaveReport
Contents
[
Hide
]SaveReport(Stream)
Saves the project overview report to the stream.
public void SaveReport(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream to save project report to. |
Examples
Shows how to save the project overview report to PDF file.
var project = new Project(DataDir + "Cyclic structure.mpp");
// save the overview report to PDF file to the specified stream.
using (var stream = new FileStream(OutDir + "SaveProjectOverviewReport_out.pdf", FileMode.Create))
{
project.SaveReport(stream);
}
See Also
- class Project
- namespace Aspose.Tasks
- assembly Aspose.Tasks
SaveReport(string)
Saves the project overview report to PDF file.
public void SaveReport(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String | The file name. |
Examples
Shows how to save the project overview report to PDF file into a stream.
var project = new Project(DataDir + "Cyclic structure.mpp");
// one can save the overview report to PDF file to the specified path
project.SaveReport(OutDir + "SaveProjectOverviewReport_out.pdf");
See Also
- class Project
- namespace Aspose.Tasks
- assembly Aspose.Tasks
SaveReport(Stream, ReportType)
Saves the project report of the specified type to the specified stream.
public void SaveReport(Stream stream, ReportType reportType)
Parameter | Type | Description |
---|---|---|
stream | Stream | the specified stream to save project report to. |
reportType | ReportType | the specified report type.ReportType |
Examples
Shows how to save the project report to PDF file for specific report type.
var project = new Project(DataDir + "Cyclic structure.mpp");
// save the overview report to PDF file to the specified stream.
using (var stream = new FileStream(OutDir + "SaveProjectOverviewReport_out.pdf", FileMode.Create))
{
project.SaveReport(stream, ReportType.Burndown);
}
See Also
- enum ReportType
- class Project
- namespace Aspose.Tasks
- assembly Aspose.Tasks
SaveReport(string, ReportType)
Saves the project report of the specified type in PDF format to the specified file path.
public void SaveReport(string fileName, ReportType reportType)
Parameter | Type | Description |
---|---|---|
fileName | String | the specified file name. |
reportType | ReportType | the specified report type.ReportType |
Examples
Shows how to save the project project report in PDF format.
var project = new Project(DataDir + "OzBuild 16 Orig.mpp");
project.SaveReport(OutDir + "CostOverview_out.pdf", ReportType.CostOverview);
See Also
- enum ReportType
- class Project
- namespace Aspose.Tasks
- assembly Aspose.Tasks