__init__ constructor
Leave feedback
On this page
Initializes a new instance of the PagesSetup class.
def __init__(self):
...
Initializes a new instance of the PagesSetup class with specified parameters.
def __init__(self, all_pages, first_page, last_page, odd_pages, even_pages, pages, page_number):
...
| Parameter | Type | Description |
|---|---|---|
| all_pages | bool |
Whether to include all pages. |
| first_page | bool |
Whether to include the first page. |
| last_page | bool |
Whether to include the last page. |
| odd_pages | bool |
Whether to include odd pages. |
| even_pages | bool |
Whether to include even pages. |
| pages | List[int] |
The list of specific page numbers to include. |
| page_number | Optional[int] |
The index of the current page. |
- class
PagesSetup
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.