Read the complete article on converting PowerPoint PPTX to XAML in C#: https://blog.aspose.com/2021/08/05/convert-powerpoint-to-xaml-using-csharp/
Last active
August 5, 2021 23:48
-
-
Save aspose-com-gists/154ccb15bd5aee545b38d8d2db487533 to your computer and use it in GitHub Desktop.
Convert PowerPoint to XAML 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
// Load the PowerPoint presentation | |
using (Presentation pres = new Presentation("pres.pptx")) | |
{ | |
// Set options | |
XamlOptions options = new XamlOptions(); | |
options.ExportHiddenSlides = true; | |
// Convert presentation to XAML | |
pres.Save(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
// Load the PowerPoint presentation | |
using (Presentation pres = new Presentation("pres.pptx")) | |
{ | |
// Convert presentation to XAML | |
pres.Save(new XamlOptions()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment