Render Archive Folder

GroupDocs.Viewer renders items from the root of the archive by default.

When rendering of a specified folder is required, it can be achieved as shown in the examples below.

    try (Viewer viewer = new Viewer("sample.zip")) {
        HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();
        viewOptions.getArchiveOptions().setFolder("ThirdFolderWithItems");
        viewer.view(viewOptions);
    }