Last active
March 20, 2019 12:26
-
-
Save GroupDocsGists/1f508b5dbf05f99834e73f4badb593c2 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 with respect to image/html handler | |
ImageOptions options = new ImageOptions(); | |
// 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