工具 API

slide_add_anim

为指定幻灯片中的某个形状添加动画效果。anim_type 为动画类型整数值(通过 slide_list_anim_types 获取可用值);anim_subtype 为方向/子类型(仅 FLY_IN/FLY_OUT 等需要,0 表示不需要);index 为动画在该页动画序列中的插入位置(0-based):-1(默认)追加到末尾,0 插入到最前,正数 N 插入到第 N 位(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_anim
服务提供方
腾讯文档
平均响应
0 ms
近 7 天调用
0

输入参数

anim_subtype

动画方向/子类型整数值,0 表示不需要

anim_type

动画类型整数值

file_id

文档ID,与 file_url 二选一

file_url

在线幻灯片URL,与 file_id 二选一

index

动画在该页动画序列中的插入位置,0-based,必须 >= 0。想追加到末尾时填一个 >= 当前动画数量的值即可(例如 9999),不支持 -1。

page_index

目标幻灯片页索引,从 0 开始

shape_id

目标形状的 shape_id