Selection 的类型。
Selection 表示所选一个或多个对象中最具体的类型。例如,如果在 Table 中选择了一个或多个 Table 实例,则选择类型为 Selection。您可以使用 Selection.getTableCellRange 检索 Table。您可以使用 Selection.getPageElementRange 检索 Table,并从 Selection.getCurrentPage 检索 Page。
如需调用枚举,您可以调用其父类、名称和属性。例如
SlidesApp.SelectionType.TEXT。
属性
| 属性 | 类型 | 说明 |
|---|---|---|
UNSUPPORTED | Enum | 不受支持的选择类型。 |
NONE | Enum | 未选择。 |
TEXT | Enum | 文本选择。 |
TABLE_CELL | Enum | 选择表格单元格。 |
PAGE | Enum | 缩略图影片片段中的页面选择。 |
PAGE_ELEMENT | Enum | 页面元素选择。 |
CURRENT_PAGE | Enum | 当前页面选择。 |