MCPcopy Index your code
hub / github.com/python-openxml/python-docx / bottom_margin

Method bottom_margin

src/docx/oxml/section.py:171–179  ·  view source on GitHub ↗

Value of the `w:bottom` attr of ` ` child element, as |Length|. |None| when either the element or the attribute is not present.

(self)

Source from the content-addressed store, hash-verified

169
170 @property
171 def bottom_margin(self) -> Length | None:
172 """Value of the `w:bottom` attr of `<w:pgMar>` child element, as |Length|.
173
174 |None| when either the element or the attribute is not present.
175 """
176 pgMar = self.pgMar
177 if pgMar is None:
178 return None
179 return pgMar.bottom
180
181 @bottom_margin.setter
182 def bottom_margin(self, value: int | Length | None):

Callers

nothing calls this directly

Calls 1

LengthClass · 0.90

Tested by

no test coverage detected