Harshay Buradkar
unread,May 6, 2014, 8:57:36 PM5/6/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfnet-w...@googlegroups.com
We are using Webviewer js implementation and want to use Silverlight as a backup for IE8. It is showing fine, just that the silverlight sidebar shows up which we wish to hide. We have tried adding the showSilverlightControls: false attribute. But it didn't help.
Here is how we are initializing WebViewer and sending those attributes.
this.myWebViewer = new PDFTron.WebViewer({
type: "silverlight",
path: configuration.clientUrlRoot + "lib/pdfTron/1.7.1/",
autoCreate: true,
initialDoc: xodWebServiceUrl,
cloudApiId: undefined,
enableAnnotations: false,
enableOfflineMode: false,
startOffline: false,
enableReadOnlyMode: false,
errorPage: undefined,
serverUrl: undefined,
documentId: undefined,
streaming: false,
config: configuration.clientUrlRoot + "module/pdfDoc/src/js/config/PdfDocViewConfig.js",
mobileRedirect: false,
encryption: undefined,
showToolbarControl: true,
showSilverlightControls: false, //deprecated
flashSockets: false,
silverlightObjectParams: {
'windowless': 'true',
},
flashObjectParams: {
'wmode': 'opaque'
},
html5Options: {},
html5MobileOptions: {},
silverlightOptions: {
},
flashOptions: {}
}, viewerElement);
Can anyone suggest a way to hide that sidebar from silverlight view or if we are doing anything wrong while passing the attributes.