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

Method marT

src/pptx/oxml/table.py:263–273  ·  view source on GitHub ↗

Top margin for this cell. This value is stored in the `marT` attribute of the `a:tcPr` child element of this `a:tc`. Read/write. If the attribute is not present, the default value `45720` (0.05 inches) is returned for top and bottom; `91440` (0.10 inches) is the default for

(self)

Source from the content-addressed store, hash-verified

261
262 @property
263 def marT(self) -> Length:
264 """Top margin for this cell.
265
266 This value is stored in the `marT` attribute of the `a:tcPr` child element of this `a:tc`.
267
268 Read/write. If the attribute is not present, the default value `45720` (0.05 inches) is
269 returned for top and bottom; `91440` (0.10 inches) is the default for left and right.
270 Assigning |None| to any `marX` property clears that attribute from the element,
271 effectively setting it to the default value.
272 """
273 return self._get_marX("marT", Emu(45720))
274
275 @marT.setter
276 def marT(self, value: Length | None):

Callers

nothing calls this directly

Calls 3

_get_marXMethod · 0.95
_set_marXMethod · 0.95
EmuClass · 0.90

Tested by

no test coverage detected