PPT PPTX ODP POT PPS
Aspose.Slides for .NET
PPS

Edit PPS Properties using C#

Build .NET apps that read and modify built-in and custom presentation properties with server-side APIs.

Modify PPS Properties via C#

Using Aspose.Slides for .NET , developers can access and modify built-in and custom presentation properties. Use the DocumentProperties property exposed by a Presentation object to read and update PPS metadata.

Modify PPS Built-in Properties - C#

using var presentation = new Presentation("presentation.pps");
var documentProperties = presentation.DocumentProperties;

documentProperties.Author = "Aspose.Slides for .NET";
documentProperties.Title = "Modifying Presentation Properties";
documentProperties.Subject = "Aspose Subject";
documentProperties.Comments = "Aspose Description";
documentProperties.Manager = "Aspose Manager";

presentation.Save("DocumentProperties_out.pps", SaveFormat.Pps);

Add Custom Properties to PPS - C#

using var presentation = new Presentation();
var documentProperties = presentation.DocumentProperties;

documentProperties["New Custom"] = 12;
documentProperties["My Name"] = "Aspose Metadata Editor";
documentProperties["Custom"] = 124;

var propertyName = documentProperties.GetCustomPropertyName(2);
documentProperties.RemoveCustomProperty(propertyName);

presentation.Save("CustomDocumentProperties_out.pps", SaveFormat.Pps);

How to Extract Metadata of PPS via C#

These are the steps to extract metadata from PPS files.

  1. Load the PPS file with Presentation.

  2. Get the DocumentProperties object from the presentation.

  3. Read or update built-in properties such as Author, Title, and Subject.

  4. Access and modify custom properties with DocumentProperties.

Other Supported Metadata Formats

You can also manipulate metadata of many other formats in C#.