public interface ArchiveViewInfo extends ViewInfo
The ArchiveViewInfo interface defines the contract for retrieving view information specific to an archive file in the GroupDocs.Viewer component. It provides methods to access details such as page count, dimensions, and rendering options specific to archive files.
Example usage:
try (Viewer viewer = new Viewer("document.zip")) {
ArchiveViewInfo viewInfo = (ArchiveViewInfo) viewer.getViewInfo(ViewInfoOptions.forHtmlView());
// Use the viewInfo object for further operations
}
Note: The default implementation of this interface is ArchiveViewInfoImpl.
Viewer,
ViewInfoOptions| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFolders()
Retrieves the list of folders contained within the archive file.
|
void |
setFolders(List<String> folders)
Sets the list of folders contained within the archive file.
|
getFileType, getPages, setFileType, setPagesCopyright © 2024. All rights reserved.