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

Method space_before

src/pptx/oxml/text.py:555–563  ·  view source on GitHub ↗

The EMU equivalent of the centipoints value in `./a:spcBef/a:spcPts/@val`.

(self)

Source from the content-addressed store, hash-verified

553
554 @property
555 def space_before(self):
556 """The EMU equivalent of the centipoints value in `./a:spcBef/a:spcPts/@val`."""
557 spcBef = self.spcBef
558 if spcBef is None:
559 return None
560 spcPts = spcBef.spcPts
561 if spcPts is None:
562 return None
563 return spcPts.val
564
565 @space_before.setter
566 def space_before(self, value: Length | None):

Callers

nothing calls this directly

Calls 1

set_spcPtsMethod · 0.80

Tested by

no test coverage detected