Created
March 20, 2019 12:56
-
-
Save GroupDocsGists/ec8f73ac96057305ee175ffa448490af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setup GroupDocs.Viewer config | |
ViewerConfig viewerConfig = new ViewerConfig(); | |
viewerConfig.StoragePath = @"Absolute_Storage_Path"; | |
// Create image or html handler | |
ViewerImageHandler imageHandler = new ViewerImageHandler(viewerConfig); | |
//Archive name with extension | |
string guid = "sample.zip"; | |
// set options to render the list of items from certain folder. | |
ImageOptions options = new ImageOptions(); | |
options.ArchiveOptions.FolderName = "FirstLevelFolder/SecondLevelFolder"; | |
// Get rendered pages | |
List<PageImage> pages = imageHandler.GetPages(guid, options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment