When talking about headers and footers within a presentation context, we are referring to the minor elements located at the upper and lower regions of your slides. These elements typically encompass a slide number, text footer, and date. The specific placement of headers and footers may vary based on the chosen theme and slide layout. This article shows methods to manage headers and footers in PowerPoint presentations.
API Information
API
Type
Description
Resource
/slides/{name}/slides/{slideIndex}/headerFooter
GET
Reads the header and footer information from the slide.
The path to the folder containing the presentation.
storage
string
query
false
The name of the storage contaning the folder.
SetSlideHeaderFooter
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
slideIndex
integer
path
true
The 1-based index of the slide.
dto
object
body
true
The data transfer object with parameters for the header and footer.
password
string
header
false
The password to open the presentation.
folder
string
query
false
The path to the folder containing the presentation.
storage
string
query
false
The name of the storage contaning the folder.
SetPresentationHeaderFooter
Name
Type
Location
Required
Description
name
string
path
true
The name of a presentation file.
dto
object
body
true
The data transfer object with parameters for the header and footer.
password
string
header
false
The password to open the presentation.
folder
string
query
false
The path to the folder containing the presentation.
storage
string
query
false
The name of the storage contaning the folder.
Examples
A MyPresentation.pptx document contains three slides. Enable the date/time with the value “1/2/2023”, footer with the value “A general footer.", and slide numbers for all presentation slides but hide the date/time and the slide number for the first slide, set the footer text for the first slide to “The first footer.".
cURL Solution
SDK Solutions
SDKs
Check Available SDKs to learn how to add an SDK to your project.