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

NameTypeAccessDescription
typeBackgroundTypeRead/WriteReturns a type of background fill.
fill_formatIFillFormatReadReturns a FillFormat for BackgroundType.OwnBackground fill.
effect_formatIEffectFormatReadReturns a EffectFormat for BackgroundType.OwnBackground fill.
style_colorIColorFormatReadReturn a ColorFormat for a BackgroundType.Themed fill.
style_indexintRead/WriteReturns an index of BackgroundType.Themed fill in background theme collection.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_fill_param_sourceIFillParamSourceReadGets the as i fill param source.
as_i_presentation_componentIPresentationComponentReadAllows to get base IPresentationComponent interface.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
get_effective()IBackgroundEffectiveDataReturns effective background data, resolving inheritance from layout/master.
type()BackgroundTypeReturns the background fill type
fill_format()IFillFormatReturns the fill format when the background uses its own fill
effect_format()IEffectFormatReturns the effect format for a background with its own fill
style_color()IColorFormatReturns the color format for a themed background fill
style_index()intReturns the index of the themed background within the theme collection
as_i_slide_component()ISlideComponentProvides the ISlideComponent interface for the background
as_i_fill_param_source()IFillParamSourceProvides the IFillParamSource interface for the background

See Also