ArchiveOptions class

ArchiveOptions class

Contains options for rendering the archive files.

The ArchiveOptions type exposes the following members:

Constructors

Constructor Description
init Initializes an instance of the ArchiveOptions class.

Properties

Property Description
file_name The displayed archive file name.
folder The folder to be rendered.

Example

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

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

See Also