跳到主要内容

SelectionType

表示选择中的对象类型。

类型

枚举

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

示例

此示例获取当前选择的类型。

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