某段文字遭換行字元結尾。
方法
方法 | 傳回類型 | 簡短說明 |
---|---|---|
getIndex() | Integer | 傳回段落新行的索引。 |
getRange() | TextRange | 傳回跨越段落文字的 TextRange ,此物件的換行字元結束。 |
內容詳盡的說明文件
getIndex()
傳回段落新行的索引。如果新行遭到刪除,則傳回 null
。
回攻員
Integer
授權
使用這個方法的指令碼必須取得以下一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations