Class Paragraph

Paragraph

A segment of text terminated by a newline character.

Methods

Method Return type Brief description
Integer Returns the index of the paragraph's newline.
Text Range Returns a Text Range spanning the text in the paragraph ended by this object's newline character.

Detailed documentation

get Index()

Returns the index of the paragraph's newline. Returns null if the newline has been deleted.

Return

Integer

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

get Range()

Returns a Text Range spanning the text in the paragraph ended by this object's newline character. Returns null if the paragraph's newline has been deleted.

Return

Text Range

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: