// For complete examples and data files, please go to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET
// Setup GroupDocs.Viewer config
ViewerConfig config = Utilities.GetConfigurations();
// Create image or html handler
ViewerImageHandler imageHandler = new ViewerImageHandler(config);
string guid = DocumentName;
// Set pdf file one page per sheet option to false, default value of this option is true
PdfFileOptions pdfFileOptions = new PdfFileOptions();
pdfFileOptions.CellsOptions.OnePagePerSheet = false;
//Get pdf file
FileContainer fileContainer = imageHandler.GetPdfFile(DocumentName, pdfFileOptions);
Utilities.SaveFile("test.pdf", fileContainer.Stream);