You can find detailed information at: Convert MS Project MPP Files to SVG Format using C#
Last active
August 31, 2021 13:17
-
-
Save aspose-com-gists/acd3930d16b0904f7b1594b424abebfd to your computer and use it in GitHub Desktop.
Convert MS Project MPP Files to SVG Format using 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
// Load the MPP file | |
Project project = new Project("SourceDirectory\\Tasks\\project_test.mpp"); | |
// Save the MPP file as SVG | |
project.Save("OutputDirectory\\SaveProjectAsSVG_out.SVG", SaveFileFormat.SVG); |
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
// Load the MPP file | |
Project project = new Project("SourceDirectory\\Tasks\\project_test.mpp"); | |
// Initialize the SaveOptions class | |
SaveOptions options = new SvgOptions(); | |
options.FitContent = true; | |
options.Timescale = Timescale.ThirdsOfMonths; | |
// Save the MPP file as SVG | |
project.Save("OutputDirectory\\UseSvgOptions_out.svg", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment