Class Paragraph

Paragraph

A segment of text terminated by a newline character.

Methods

MethodReturn typeBrief description
getIndex()IntegerReturns the index of the paragraph's newline.
getRange()TextRangeReturns a TextRange spanning the text in the paragraph ended by this object's newline character.

Detailed documentation

getIndex()

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

getRange()

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

Return

TextRange

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

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.