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

Method set_spcPts

src/pptx/oxml/text.py:598–602  ·  view source on GitHub ↗

Set spacing to `value` points. A ./a:spcPct child is removed if present.

(self, value: Length)

Source from the content-addressed store, hash-verified

596 spcPct.val = value
597
598 def set_spcPts(self, value: Length):
599 """Set spacing to `value` points. A ./a:spcPct child is removed if present."""
600 self._remove_spcPct()
601 spcPts = self.get_or_add_spcPts()
602 spcPts.val = value
603
604
605class CT_TextSpacingPercent(BaseOxmlElement):

Callers 3

line_spacingMethod · 0.80
space_afterMethod · 0.80
space_beforeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected