Conversion 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
            PresentationEx pres = new PresentationEx("Conversion.ppt");
                //Saving the presentation to TIFF document
            pres.Save("converted.xps", Aspose.Slides.Export.SaveFormat.Xps);

Download

Last edited Mar 3, 2014 at 6:24 AM by asposemarketplace, version 2