Created
March 20, 2019 13:19
-
-
Save GroupDocsGists/37930f2cdad27d3c3b8b247e867bc83b 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 handler | |
ViewerImageHandler imageHandler = new ViewerImageHandler(viewerConfig); | |
//Archive name with extension | |
string guid = "sample.zip"; | |
// Create pdf options with specified folder name | |
PdfFileOptions options = new PdfFileOptions(); | |
options.ArchiveOptions.FolderName = "FolderName"; | |
// Get pdf document | |
FileContainer fileContainer = imageHandler.GetPdfFile(guid, options); | |
// Access result PDF document using fileContainer.Stream property |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment