ApiGoToAction
表示 GoTo 操作的类。
方法
下表列出了可用的方法。
| 方法 | 返回值 | 描述 |
|---|---|---|
| GetClassType | "goToAction" | 返回 ApiGoToAction 类的类型。 |
| GetPage | number | 获取目标页面索引 |
| GetRect | Rect | null | undefined | 获取跳转目标矩形 |
| GetType | GoToType | 获取跳转类型 |
| GetZoom | number | null | undefined | 获取操作的缩放比例 |
| SetPage | boolean | 设置目标页面索引 |
| SetRect | boolean | 设置跳转目标矩形 |
| SetType | boolean | 设置跳转类型 |
| SetZoom | boolean | 设置跳转缩放比例 |