PageInfo constructor
init
Initializes new instance of PageInfo class.
def __init__(self, number, visible):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| visible |
bool |
The page visibility indicator. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when number is less or equal to zero. |
init
Initializes new instance of PageInfo class.
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. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when number is less or equal to zero. |
| ArgumentException |
Thrown when width is less or equal to zero. |
| ArgumentException |
Thrown when height is less or equal to zero. |
See Also