Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// 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 = "";
// 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
You can’t perform that action at this time.