Working with View Properties

Introduction

In PowerPoint documents, view properties refer to the various viewing modes available that allow you to work with your presentation in different ways, depending on your current needs. Use the following methods to get and update the view properties of a presentation.

GetViewProperties

API Information

API Type Description Resource
/slides/{name}/viewProperties GET Returns the view properties from a presentation saved in a storage. GetViewProperties

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation file.
storage string query false The name of the storage contaning the folder.

Examples

Retrieve the view properties from the document MyPresentation.pptx saved in the default storage.

cURL Solution

SDK Solutions

SetViewProperties

API Information

API Type Description Resource
/slides/{name}/viewProperties PUT Updates the view properties of a presentation saved in a storage. SetViewProperties

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
dto ViewProperties body true The data transfer object with the view properties.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation file.
storage string query false The name of the storage contaning the folder.

Examples

Hide comments and set the slide view scale to 50 in the document MyPresentation.pptx saved in the default storage.

cURL Solution

SDK Solutions

SDKs

Check Available SDKs to learn how to add an SDK to your project.