iwfm.pdf_cell

iwfm.pdf_cell(pdf, h=6, w=2, t='', b=0, a='C')[source]

Create a cell in a PDF instance.

Parameters:
  • pdf (PDF object) – PDF object to be modified

  • h (int, defulat=6) – cell height

  • w (int, default=2) – cell width

  • t (str, default='') – text contents

  • b (int, default=0) – border thickness

  • a (str, default='C' (center)) – alignment

Returns:

pdf – modified PDF object

Return type:

PDF object