You can read all the details at: Convert MPP to Excel XLSX or CSV Programmatically in C#
Last active
December 23, 2021 06:18
-
-
Save aspose-com-gists/98573f5b11b4e6f246ef07afabd02f52 to your computer and use it in GitHub Desktop.
Convert MPP to Excel XLSX or CSV Programmatically in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read the input Project MPP file | |
Aspose.Tasks.Project project = new Aspose.Tasks.Project("Project.mpp"); | |
// Initialize CsvOptions class instance | |
Aspose.Tasks.Saving.CsvOptions options = new Aspose.Tasks.Saving.CsvOptions(); | |
options.TextDelimiter = Aspose.Tasks.Saving.CsvTextDelimiter.Semicolon; | |
// Save output CSV file | |
project.Save("Project.csv", options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read the input Project MPP file | |
Aspose.Tasks.Project project = new Aspose.Tasks.Project("Project5.mpp"); | |
// Initialize XlsxOptions class object | |
Aspose.Tasks.Saving.XlsxOptions options = new Aspose.Tasks.Saving.XlsxOptions(); | |
options.PageSize = Aspose.Tasks.Visualization.PageSize.A4; | |
// Save output XLSX file | |
project.Save("Project.xlsx", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment