TOOL API

slide_add_text

在指定幻灯片插入一个文本框。x/y/w/h 单位为磅(pt,1pt = 12700 EMU),w/h 必须 > 0;text 为空串表示空文本框;font_color / fill_color / border_color 均为 6 位 hex(无 # 前缀);font_size 单位为 pt,<= 0 取默认字号;border_width 单位为 pt,<= 0 取默认 1.0(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 credits

Call information

Tool slug
tencent-docs.slide_add_text
Provider
Tencent Docs
Average response
0 ms
Calls in 7 days
0

Input parameters

border_color

文本框边框色(RRGGBB);空串表示无边框

border_dash

边框线型,如 solid / dash / dot;空串默认 solid

border_width

边框宽度(pt);<= 0 取默认 1.0

file_id

文档ID,与 file_url 二选一

file_url

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

fill_color

文本框背景填充色(RRGGBB);空串表示透明无填充

font_color

字体颜色(RRGGBB,无 # 前缀);空串使用默认色

font_name

字体名称;空串使用默认字体

font_size

字号(pt);<= 0 时使用默认字号

h

文本框高度(磅 pt,1pt = 12700 EMU),必须 > 0

page_index

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

text

文本内容;空串表示空文本框

w

文本框宽度(磅 pt,1pt = 12700 EMU),必须 > 0

x

文本框左上角横坐标(磅 pt,1pt = 12700 EMU)

y

文本框左上角纵坐标(磅 pt,1pt = 12700 EMU)