Selection 的类型。
SelectionType 表示所选一个或多个对象的最具体类型。例如,如果在 Table 中选择了一个或多个 TableCell 实例,则选择类型为 SelectionType.TABLE_CELL。您可以使用 Selection.getTableCellRange 检索 TableCellRange。您可以使用 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 | 当前页面选择。 |