Page constructor
init
Initializes new instance of Page class.
init
Initializes new instance of Page 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 Page class.
def __init__(self, number, name, visible):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| name |
System.String |
The worksheet or page name. |
| visible |
bool |
The page visibility indicator. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when number is less or equal to zero. |
init
Initializes new instance of Page 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. |
init
Initializes new instance of Page class.
def __init__(self, number, name, visible, width, height):
...
| Parameter |
Type |
Description |
| number |
int |
The page number. |
| name |
System.String |
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. |
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. |
init {#int-bool-int-int-System.Collections.Generic.List`1[[GroupDocs.Viewer.Results.Line]]}
Constructs a new instance of Page
def __init__(self, number, visible, width, height, lines):
...
| Parameter |
Type |
Description |
| number |
int |
|
| visible |
bool |
|
| width |
int |
|
| height |
int |
|
| lines |
System.Collections.Generic.List`1[[GroupDocs.Viewer.Results.Line]] |
|
init {#int-System.String-bool-int-int-System.Collections.Generic.List`1[[GroupDocs.Viewer.Results.Line]]}
Constructs a new instance of Page
def __init__(self, number, name, visible, width, height, lines):
...
| Parameter |
Type |
Description |
| number |
int |
|
| name |
System.String |
|
| visible |
bool |
|
| width |
int |
|
| height |
int |
|
| lines |
System.Collections.Generic.List`1[[GroupDocs.Viewer.Results.Line]] |
|
See Also