工具 API

set_text_font

设置形状文本的字体格式 参数: - file_id: 文件ID - slide_index: 幻灯片索引 - shape_index: 形状索引 - font_name: 字体名称(可选) - font_size: 字体大小(可选) - bold: 是否加粗(可选) - italic: 是否斜体(可选) - underline: 是否下划线(可选) - color_rgb: 文字颜色 [R, G, B](可选) 返回: - 操作结果 使用示例: set_text_font(file_id="abc123", slide_index=0, shape_index=0, font_name="Arial", font_size=24, bold=True, color_rgb=[255, 0, 0])

其他1 积分

调用信息

工具标识
powerpoint.set_text_font
服务提供方
PowerPoint
平均响应
0 ms
近 7 天调用
0

输入参数

file_id必填

string

slide_index必填

integer

shape_index必填

integer

font_name

string

font_size

integer

bold

boolean

italic

boolean

underline

boolean

color_rgb

array