add_section#

AnsysReport.add_section(portrait=None, page_format='a4')[source]#

Add a new section to Pdf.

Parameters:
portraitbool, optional

Section orientation. Default True for portrait.

page_formatstr, optional

Currently supported formats are a3, a4, a5, letter, legal or a tuple (width, height).

Returns:
int,

Section id.