__init__ constructor

On this page

init

Initializes an instance of the ArchiveOptions class.

def __init__(self):
    ...

Example

from groupdocs.viewer import Viewer
from groupdocs.viewer.options import HtmlViewOptions

with Viewer("documents.zip") as viewer:
    view_options = HtmlViewOptions.for_embedded_resources(
        "output/specific_folder.html"
    )
    view_options.archive_options.folder = "first_folder"
    viewer.view(view_options)

See Also

On this page