Aspose.Total for .NET is a powerful package of File Format Automation APIs that can be used to easily convert XPS to PPS in two simple steps. The first step is to use the PDF Processing API, Aspose.PDF for .NET, to transform the XPS file format to PPTX. This API provides a range of features that allow you to manipulate PDF documents, including the ability to convert XPS to PPTX.
Once the XPS file has been converted to PPTX, the second step is to use the Presentation Processing API, Aspose.Slides for .NET, to convert the PPTX to PPS. This API provides a range of features that allow you to manipulate presentation documents, including the ability to convert PPTX to PPS. It also provides a range of features that allow you to create, edit, and manipulate presentation documents, such as the ability to add text, images, and shapes to slides, as well as the ability to apply formatting to text and objects.
By using Aspose.Total for .NET, you can easily and quickly convert XPS to PPS in two simple steps. The first step is to use the PDF Processing API, Aspose.PDF for .NET, to transform the XPS file format to PPTX. The second step is to use the Presentation Processing API, Aspose.Slides for .NET, to convert the PPTX to PPS. This package of powerful File Format Automation APIs provides a range of features that allow you to easily and quickly convert XPS to PPS.
.NET API to Convert XPS to PPS
- Open XPS file using Document class
- Convert XPS to PPTX by using Save method
- Load PPTX file by using Presentation class
- Save the document to PPS format using
Save
method and set
Pps
as SaveFormat
Get Started with .NET File Format APIs
Install from command line as nuget install Aspose.Total
or via Package Manager Console of Visual Studio with Install-Package Aspose.Total
.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
Document document = new Document("input.xps");
// save XPS as a PPTX
document.Save("PptxOutput.pptx", SaveFormat.Pptx);
// load PPTX with an instance of Presentation
Presentation presentation = new Presentation("PptxOutput.pptx");
// call save method while passing SaveFormat.Pps
presentation.Save("output.pps", SaveFormat.Pps);
Get XMP Metadata from XPS File via .NET
While converting XPS to PPS, you might need extra XMP metadata information to prioritize your batch conversion process. For example you can get and sort your conversion documents based on creation date and process the documents accordingly. Aspose.PDF for .NET allows you to access a XPS file’s XMP metadata. To get a XPS file’s metadata, you can create a Document object and open the input XPS file. After that, you can get the file’s metadata using the Metadata property.
Document doc = new Document("input.xps");
// get XPS XMP properties
Console.WriteLine(doc.Metadata["xmp:CreateDate"]);
Console.WriteLine(doc.Metadata["xmp:Nickname"]);
Console.WriteLine(doc.Metadata["xmp:CustomProperty"]);
Create Read Only PPS File via .NET
By using Aspose.Slides for .NET API, you can further enhance the features of your conversion application. One of the feature can be to create your output file read only to increase security. The API allows you to set your PPS file to Read-Only, which means users (after they open the presentation) see the Read-Only recommendation.
Presentation presentation = new Presentation("PptxOutput.pptx");
// make PPS read only
presentation.ProtectionManager.ReadOnlyRecommended = true;
// call save method while passing SaveFormat.Pps
presentation.Save("output.pps", SaveFormat.Pps);
Explore XPS Conversion Options with .NET
What is XPS File Format?
XPS, short for XML Paper Specification, is a file format created by Microsoft to represent fixed-layout documents. XPS files contain the content and print settings of a document, making them suitable for preserving the layout and appearance of a document across different devices and platforms.
The XPS format is based on XML (eXtensible Markup Language), a widely used markup language for structured data representation. XPS files encapsulate document content, such as text, images, vector graphics, and annotations, in a structured XML format. This enables easy interpretation and rendering of the document’s visual elements.
XPS files are conceptually similar to PDF (Portable Document Format) files in that they both aim to provide a reliable way to present and share documents while preserving their formatting and layout. However, PDF files have gained broader support across different software applications and hardware devices, making them more widely accepted and compatible.
To view and work with XPS files, Microsoft provides an XPS Viewer as part of the Windows operating system. Various third-party applications and tools also offer support for opening, creating, and converting XPS files. However, compared to PDF, the range of software and hardware supporting the XPS format may be more limited.
What is PPS File Format?
The PPS file format is an extension used by Microsoft PowerPoint to save presentations specifically designed for slideshow purposes. It stands for “PowerPoint Slide Show” and is closely related to the PPT (PowerPoint Presentation) format. PPS files contain a collection of slides, each with its own content, layout, and formatting.
Unlike PPT files, which open in the PowerPoint editor, PPS files are intended to be opened directly in slideshow mode. When a PPS file is opened, it launches the presentation in full-screen mode, immediately displaying the slides in the order they were created. This allows for a seamless and uninterrupted presentation experience without the need for manual navigation.
PPS files are commonly used for sharing presentations with others who only need to view the slides rather than edit them. By saving a presentation as a PPS file, you ensure that recipients can open and view the presentation as intended without accidentally modifying the content. This makes it a convenient format for distributing slideshows for meetings, conferences, or self-running presentations.
The PPS format retains all the visual elements, animations, transitions, and multimedia content included in the original PowerPoint presentation. It provides a convenient way to deliver polished and professional-looking slideshows that maintain their intended design and effects.
To open and view PPS files, recipients typically need a compatible software application such as Microsoft PowerPoint, PowerPoint Viewer, or other presentation software capable of reading PPS files. These applications allow users to enjoy the full presentation experience without the need for authoring or editing capabilities.