Convert Presentation to XPS
XPS format is also widely used for exchange of data. Aspose.Slides for .NET takes care of its importance and provides the built-in support for converting a presentation into XPS document.
The Save method exposed by Presentation class can be used to convert the whole presentation into XPS document. Further, XpsOptions class exposes SaveMetafileAsPng property that can be set to true or false as per requirement.
//Instantiate a Presentation object that represents a presentation file Presentation pres = new Presentation("Conversion.ppt"); //Saving the presentation to TIFF document pres.Save("converted.xps", Aspose.Slides.Export.SaveFormat.Xps);
Download Running Example
- [CodePlex](https://asposeslidesvsto.codeplex.com/SourceControl/latest#Aspose.Slides Features missing in VSTO/Converting to XPS/)