Selection
のタイプ。
Selection
は、選択された 1 つ以上のオブジェクトの最も具体的なタイプを表します。たとえば、Table
で 1 つ以上の Table
インスタンスが選択されている場合、選択タイプは Selection
です。Table
は Selection.getTableCellRange
を使用して取得できます。Table
は Selection.getPageElementRange
を使用して取得でき、Page
は Selection.getCurrentPage
から取得できます。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.SelectionType.TEXT
です。
プロパティ
プロパティ | タイプ | 説明 |
---|---|---|
UNSUPPORTED | Enum | サポートされていない選択タイプ。 |
NONE | Enum | 選択なし。 |
TEXT | Enum | テキスト選択 |
TABLE_CELL | Enum | 表のセルの選択範囲。 |
PAGE | Enum | サムネイル フィルムストリップでのページ選択。 |
PAGE_ELEMENT | Enum | ページ要素の選択。 |
CURRENT_PAGE | Enum | 現在のページの選択。 |