Background
Overview
Background is a class in Aspose.Slides FOSS for Python.
Inherits from: PVIObject, IBackground.
Represents background of a slide.
This class declares 2 methods for Background objects in Python programs.
Available methods include: __setattr__, get_effective.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_fill_param_source, as_i_presentation_component, as_i_slide_component, effect_format, fill_format, presentation, and 4 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | BackgroundType | Read/Write | Returns a type of background fill. |
fill_format | IFillFormat | Read | Returns a FillFormat for BackgroundType.OwnBackground fill. |
effect_format | IEffectFormat | Read | Returns a EffectFormat for BackgroundType.OwnBackground fill. |
style_color | IColorFormat | Read | Return a ColorFormat for a BackgroundType.Themed fill. |
style_index | int | Read/Write | Returns an index of BackgroundType.Themed fill in background theme collection. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide component. |
as_i_fill_param_source | IFillParamSource | Read | Gets the as i fill param source. |
as_i_presentation_component | IPresentationComponent | Read | Allows to get base IPresentationComponent interface. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
get_effective() → IBackgroundEffectiveData | Returns effective background data, resolving inheritance from layout/master. |
__setattr__(name: str, value) | Calls setattr(name, value) on this Background instance. |