The method `add_page` in the `fpdf.FPDF` class is used in Python to add a new page to a PDF document being generated using the FPDF library. This method creates a new page with the specified dimensions and orientation, and the subsequent content will be added to this new page. This method helps in organizing the content of the PDF document into multiple pages, ensuring a more structured and readable document layout.
Python FPDF.add_page - 60 examples found. These are the top rated real world Python examples of fpdf.FPDF.add_page extracted from open source projects. You can rate examples to help us improve the quality of examples.