We are using a self-hosting .net demo, thus no web.config or initialization code is available
$(’#element’).groupdocsViewer({
localizedStrings: localizedStrings,
thumbsImageBase64Encoded: thumbsImageBase64Encoded,
filePath: “file.pdf”,
quality: 100,
showThumbnails: false,
openThumbnails: true,
initialZoom: 100,
zoomToFitWidth: true,
onlyShrinkLargePages: false,
zoomToFitHeight: false,
width: 0,
height: 0,
backgroundColor: null,
showFolderBrowser: false,
showPrint: true,
showDownload: false,
showZoom: true,
showPaging: true,
showViewerStyleControl: true,
showSearch: true,
preloadPagesCount: null,
preloadPagesOnBrowserSide: false,
convertWordDocumentsCompletely: false,
viewerStyle: 1,
supportTextSelection: true,
usePdfPrinting: false,
toolbarButtonsBoxShadowStyle: null,
toolbarButtonsBoxShadowHoverStyle: null,
thumbnailsContainerBackgroundColor: null,
thumbnailsContainerBorderRightColor: null,
toolbarBorderBottomColor: null,
toolbarInputFieldBorderColor: null,
toolbarButtonBorderColor: null,
toolbarButtonBorderHoverColor: null,
thumbnailsContainerWidth: 0,
jqueryFileDownloadCookieName: ‘jqueryFileDownloadJSForGD’,
showDownloadErrorsInPopup: false,
showImageWidth: false,
showHeader: true,
minimumImageWidth: 0,
enableStandardErrorHandling: true,
useHtmlBasedEngine: true,
useHtmlThumbnails: false,
useImageBasedPrinting: true,
fileDisplayName: null,
downloadPdfFile: false,
searchForSeparateWords: false,
preventTouchEventsBubbling: false,
useInnerThumbnails: false,
watermarkText: null,
watermarkColor: null,
watermarkPosition: ‘Diagonal’,
watermarkFontSize: 0,
printWithWatermark: false,
supportPageReordering: false,
searchHighlightColor: null,
currentSearchHighlightColor: null,
treatPhrasesInDoubleQuotesAsExactPhrases: false,
usePngImagesForHtmlBasedEngine: false,
showOnePageInRow: false,
loadAllPagesOnSearch: false,
useEmScaling: false,
ignoreDocumentAbsence: false,
supportPageRotation: false,
useRtl: false
});
Also, note we have no troubles in seeing the PDF with useHtmlBasedEngine turned off. So, this had to be an easy response from you…