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

Method font

src/pptx/chart/legend.py:20–27  ·  view source on GitHub ↗

The |Font| object that provides access to the text properties for this legend, such as bold, italic, etc.

(self)

Source from the content-addressed store, hash-verified

18
19 @lazyproperty
20 def font(self):
21 """
22 The |Font| object that provides access to the text properties for
23 this legend, such as bold, italic, etc.
24 """
25 defRPr = self._element.defRPr
26 font = Font(defRPr)
27 return font
28
29 @property
30 def horz_offset(self):

Callers

nothing calls this directly

Calls 1

FontClass · 0.90

Tested by

no test coverage detected