Class PageRange

  • PageRange represents a collection of one or more Google Slides Page instances.

  • It has a single method, getPages(), which returns a list of all Page instances within the PageRange.

  • Using getPages() requires authorization with specific Google Slides scopes.

PageRange

A collection of one or more Page instances.

Methods

MethodReturn typeBrief description
getPages()Page[]Returns the list of Page instances.

Detailed documentation

getPages()

Returns the list of Page instances.

Return

Page[]

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations