FormatScheme
FormatScheme
概述
FormatScheme 是 Aspose.Slides FOSS 中用于 Python 的一个类。继承自:IFormatScheme、ISlideComponent、IPresentationComponent。
存储主题定义的形状格式。
此类提供 8 种方法,用于在 Python 程序中处理 FormatScheme 对象。可用的方法包括:as_i_presentation_component、as_i_slide_component、background_fill_styles、effect_styles、fill_styles、line_styles、presentation、slide。安装 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:as_i_presentation_component、as_i_slide_component、background_fill_styles、effect_styles、fill_styles、line_styles,以及另外 2 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
fill_styles | IFillFormatCollection | 读取 | 返回一组主题定义的填充样式。 |
line_styles | ILineFormatCollection | 读取 | 返回一组主题定义的线条样式。 |
effect_styles | IEffectStyleCollection | 读取 | 返回一组主题定义的效果样式。 |
background_fill_styles | IFillFormatCollection | 读取 | 返回一组主题定义的背景填充样式。 |
slide | IBaseSlide | 读取 | 返回父幻灯片。 |
presentation | IPresentation | 读取 | 返回父演示。 |
as_i_slide_component | ISlideComponent | 读取 | 获取 as i slide 组件。 |
as_i_presentation_component | IPresentationComponent | 读取 | 获取 as i 演示组件。 |
方法
| 签名 | 描述 |
|---|---|
fill_styles() → IFillFormatCollection | 返回一组主题定义的填充样式。 |
line_styles() → ILineFormatCollection | 返回一组由主题定义的线条样式。 |
effect_styles() → IEffectStyleCollection | 返回一组由主题定义的效果样式。 |
background_fill_styles() → IFillFormatCollection | 返回一组由主题定义的背景填充样式。 |
as_i_slide_component() → ISlideComponent | 允许获取基础 ISlideComponent 接口。 |
slide() → IBaseSlide | 返回此格式方案的父幻灯片 |
as_i_presentation_component() → IPresentationComponent | 提供格式方案作为一个IPresentationComponent |
presentation() → IPresentation |