PreviewOptions constructor

init

Initializes a new instance of the PreviewOptions class causing the output stream to be closed.

def __init__(self, create_page_stream):
    ...
Parameter Type Description
create_page_stream groupdocs.parser.options.ICreatePageStream Creates a stream for a specific page preview.

init

Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use.

def __init__(self, create_page_stream, release_page_stream):
    ...
Parameter Type Description
create_page_stream groupdocs.parser.options.ICreatePageStream Creates a stream for a specific page preview
release_page_stream groupdocs.parser.options.IReleasePageStream Notifies that the page preview generation is done and gets the output stream.

See Also