WPS 基础接口 > 演示 API 参考 > Presentation > 属性 > Presentation.Fonts 属性
返回一个 Fonts 集合,该集合代表用于指定演示文稿的所有字体。只读。

语法

表达式.Fonts

表达式   一个代表 Presentation 对象的变量。

示例

本示例将当前演示文稿中的 Times New Roman 字体替换为 Courier 字体。

示例代码
Application.ActivePresentation.Fonts.Replace("Times New Roman", "Courier")


请参阅