1. GroupDocs.Parser
  2. /
  3. GroupDocs.Parser for Python via .NET
  4. /
  5. groupdocs.parser.options
  6. /
  7. PreviewOptions class
  8. /
  9. PreviewOptions constructor

PreviewOptions constructor

On this page

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

On this page