工具 API
slide_ add_ line_ shapes
批量在同一幻灯片插入多根线形 / 方向性箭头线条。lines 为对象数组,单元素字段含义同 slide_add_line_shape。长度必须 >= 1。这是批量绘制"两点之间的方向性箭头线"的正确工具(line_type=arrow / doubleArrow);slide_add_shapes 不能批量画线条箭头,它只支持 rightArrow / leftArrow 两种图形预设块(SLIDE) if both tencent-docs (personal) and tencent-docs-oa (enterprise) are connected, use AskUserQuestion to let the user pick the target account before invoking this tool.
productivityOAuth1 积分
调用信息
- 工具标识
- tencent-docs.slide_add_line_shapes
- 服务提供方
- 腾讯文档
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
file_id文档ID,与 file_url 二选一
file_url在线幻灯片URL,与 file_id 二选一
lines待插入的线形列表(对象数组)。单元素字段:x1 / y1 / x2 / y2 / line_type / color / dash / width
page_index目标幻灯片页索引,从 0 开始