Convert MS Project MPP Files to SVG Format using C#

Convert MS Project MPP Files to SVG Format using C#

The SVG format is often used for embedding content in web and desktop applications. There might be scenarios where you need to embed the content of Microsoft Project MPP files in such applications. In these circumstances, converting the MPP file to SVG format will prove to be helpful. In light of this, this article will teach you how to convert MPP files to SVG format programmatically using C#.

C# API for Converting MPP Files to SVG Format

Aspose.Tasks for .NET is a robust API for working with MS Project MPP files. The API allows you to create and read MPP/XML files without the need for any additional software. Furthermore, the API supports converting MPP files to SVG format. You can either install the API through NuGet or download it directly from the Downloads section.

PM> Install-Package Aspose.Tasks

Convert MPP Files to SVG Format using C#

You can convert your MPP files to SVG format with just a few lines of code. In order to achieve that, please follow the steps given below.

The following sample code shows how to convert MPP files to SVG format using C#.

Convert MPP Files to SVG Format with Additional Options

You can provide additional options while converting MPP files to SVG format to customize the generated output. To use additional options for converting MPP files to SVG format, use the steps given below.

The following sample code shows how to convert MPP files to SVG format using additional options.

Get a Free License

In order to try the API without evaluation limitations, you can request a free temporary license.

Conclusion

In this article, you have learned how to convert Microsoft Project MPP files to SVG format using C#. Furthermore, you have learned how to use additional options to customize the generated SVG. Aspose.Tasks for .NET API provides many additional features for working with MPP files. You can explore the API in detail by visiting the official documentation. In case of any questions, please feel free to reach us at our free support forum.

See Also