Initializes a new instance of Page.
Initializes a new Page instance.
def __init__(self, number, visible):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| visible |
bool |
The page visibility indicator. |
| Raises |
Description |
ValueError |
When number is less than or equal to zero. |
Initializes a new Page instance.
def __init__(self, number, name, visible):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| name |
str |
The worksheet or page name. |
| visible |
bool |
The page visibility indicator. |
| Raises |
Description |
ValueError |
When number is less or equal to zero. |
Initializes a new Page instance.
def __init__(self, number, visible, width, height):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| visible |
bool |
The page visibility indicator. |
| width |
int |
The width of the page in pixels when viewing as JPG or PNG. |
| height |
int |
The height of the page in pixels when viewing as JPG or PNG. |
| Raises |
Description |
ValueError |
When height is less or equal to zero. |
Initializes a new instance of Page.
def __init__(self, number, name, visible, width, height):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| name |
str |
The worksheet or page name. |
| visible |
bool |
The page visibility indicator. |
| width |
int |
The width of the page in pixels when viewing as JPG or PNG. |
| height |
int |
The height of the page in pixels when viewing as JPG or PNG. |
| Raises |
Description |
ValueError |
When height is less or equal to zero. |
Initializes a new instance of Page.
def __init__(self, number, visible, width, height, lines):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| visible |
bool |
The page visibility indicator. |
| width |
int |
The width of the page in pixels when viewing as JPG or PNG. |
| height |
int |
The height of the page in pixels when viewing as JPG or PNG. |
| lines |
List[Line] |
The lines contained by the page when viewing as JPG or PNG with enabled Text Extraction. |
| Raises |
Description |
ValueError |
If lines is None. |
Initializes a new instance of Page.
def __init__(self, number, name, visible, width, height, lines):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| name |
str |
The worksheet or page name. |
| visible |
bool |
The page visibility indicator. |
| width |
int |
The width of the page in pixels when viewing as JPG or PNG. |
| height |
int |
The height of the page in pixels when viewing as JPG or PNG. |
| lines |
List[Line] |
The lines contained by the page when viewing as JPG or PNG with enabled Text Extraction. |
| Raises |
Description |
ValueError |
When lines is None. |
We value your opinion. Your feedback will help us improve our documentation.