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

Method add_noFill_bgPr

src/pptx/oxml/slide.py:51–56  ·  view source on GitHub ↗

Return a new `p:bgPr` element with noFill properties.

(self)

Source from the content-addressed store, hash-verified

49 del _tag_seq
50
51 def add_noFill_bgPr(self):
52 """Return a new `p:bgPr` element with noFill properties."""
53 xml = "<p:bgPr %s>\n" " <a:noFill/>\n" " <a:effectLst/>\n" "</p:bgPr>" % nsdecls("a", "p")
54 bgPr = cast(CT_BackgroundProperties, parse_xml(xml))
55 self._insert_bgPr(bgPr)
56 return bgPr
57
58
59class CT_BackgroundProperties(BaseOxmlElement):

Callers 1

_change_to_noFill_bgMethod · 0.80

Calls 2

nsdeclsFunction · 0.90
parse_xmlFunction · 0.90

Tested by

no test coverage detected