MCPcopy Create free account
hub / github.com/scanny/python-pptx / background

Method background

src/pptx/slide.py:45–54  ·  view source on GitHub ↗

|_Background| object providing slide background properties. This property returns a |_Background| object whether or not the slide, master, or layout has an explicitly defined background. The same |_Background| object is returned on every call for the same slide obje

(self)

Source from the content-addressed store, hash-verified

43
44 @lazyproperty
45 def background(self) -> _Background:
46 """|_Background| object providing slide background properties.
47
48 This property returns a |_Background| object whether or not the
49 slide, master, or layout has an explicitly defined background.
50
51 The same |_Background| object is returned on every call for the same
52 slide object.
53 """
54 return _Background(self._element.cSld)
55
56 @property
57 def name(self) -> str:

Calls 1

_BackgroundClass · 0.85

Tested by 1