JpgViewOptions constructor
init
Initializes an instance of the JpgViewOptions class.
init
Initializes an instance of the JpgViewOptions class.
def __init__(self, page_stream_factory):
...
| Parameter |
Type |
Description |
| page_stream_factory |
groupdocs.viewer.interfaces.IPageStreamFactory |
The factory which implements methods for creating and releasing output page stream. |
Exceptions
| Exception |
Description |
| ArgumentNullException |
Thrown when page_stream_factory is null. |
init
Initializes an instance of the JpgViewOptions class.
def __init__(self, file_path_format):
...
| Parameter |
Type |
Description |
| file_path_format |
System.String |
The file path format e.g. ‘page_{0}.jpg’. |
Exceptions
| Exception |
Description |
| ArgumentException |
Thrown when file_path_format is null or empty. |
See Also