TOOL API

slide_add_text

Inserts a text box on a specific slide in a Tencent Docs presentation. Coordinates and size are in points (1pt = 12700 EMU) and w/h must be greater than 0; an empty text string creates an empty text box, and font_color, fill_color and border_color are 6-digit hex values without a # prefix. 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)