MCPcopy Create free account
hub / github.com/geekcomputers/Python / footer

Method footer

PDF/header_footer.py:15–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.ln(10)
14
15 def footer(self):
16 # Set Position at 1cm (10mm) From Bottom
17 self.set_y(-10)
18 # Arial italic 8
19 self.set_font("Arial", "I", 8)
20 # set Page number at the bottom
21 self.cell(0, 10, "Page No {}".format(self.page_no()), 0, 0, "C")
22 pass
23
24
25pdf = MyPdf()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected