PdfViewOptions constructor

init

Initializes an instance of PdfViewOptions class.

def __init__(self):
    ...

init

Initializes an instance of PdfViewOptions class.

def __init__(self, file_stream_factory):
    ...
Parameter Type Description
file_stream_factory groupdocs.viewer.interfaces.IFileStreamFactory The factory which implements methods for creating and releasing output file stream.

Exceptions

Exception Description
ArgumentNullException Thrown when file_stream_factory is null.

init

Initializes an instance of PdfViewOptions class.

def __init__(self, output_file_path):
    ...
Parameter Type Description
output_file_path System.String The path for output PDF file.

Exceptions

Exception Description
ArgumentException Thrown when output_file_path is null or empty.

See Also