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)