Background
Overview
Background is a class in Aspose.Slides FOSS for Python.
Inherits from: PVIObject, IBackground.
Represents background of a slide.
This class provides 8 methods for working with Background objects in Python programs.
Available methods include: as_i_fill_param_source, as_i_slide_component, effect_format, fill_format, get_effective, style_color, style_index, type.
All 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. |
type() → BackgroundType | Returns the background fill type |
fill_format() → IFillFormat | Returns the fill format when the background uses its own fill |
effect_format() → IEffectFormat | Returns the effect format for a background with its own fill |
style_color() → IColorFormat | Returns the color format for a themed background fill |
style_index() → int | Returns the index of the themed background within the theme collection |
as_i_slide_component() → ISlideComponent | Provides the ISlideComponent interface for the background |
as_i_fill_param_source() → IFillParamSource | Provides the IFillParamSource interface for the background |