跳到主要内容

SelectionType

表示选择中的对象类型。

类型

枚举

  • "none"
  • "shapes"
  • "slides"
  • "text"

示例

This example gets type of a current selection.

const selectionType = Api.GetSelection().GetType();