ApiThemeFontScheme
表示主题字体方案的类。
方法
下表列出了可用的方法。
| 方法 | 返回值 | 描述 |
|---|---|---|
| Copy | ApiThemeFontScheme | 创建当前主题字体方案的副本。 |
| GetClassType | "themeFontScheme" | 返回 ApiThemeFontScheme 类的类型。 |
| GetMajorFont | string | null | undefined | 返回当前主题字体方案的主要主题字体。 |
| GetMinorFont | string | null | undefined | 返回当前主题字体方案的次要主题字体。 |
| GetSchemeName | string | 返回当前主题字体方案的名称。 |
| SetFonts | 无 | 为当前主题字体方案设置字体。 |
| SetSchemeName | boolean | 为当前主题字体方案设置名称。 |
| ToJSON | JSON | 将 ApiThemeFontScheme 对象转换为 JSON 对象。 |