Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

Toolbar/Button Configuration

More
IP: 192.168.0.71 8 years 11 months ago - 8 years 11 months ago #12185 by gianlucaz
hi, im using the cordova plugin on an ios/android application.

is it possible to configure (enable/disable buttons) or completely turn off the toolbar from the pdf plugin?
we want our customer only to be able to exit the pdf-view (with a close button) and not be able to use the other buttons (like print, etc.).

cheers,
gianluca
Last edit: 8 years 11 months ago by gianlucaz.
More
IP: 192.168.0.71 8 years 11 months ago #12197 by emanuele
Hi,

you can use plugin properties to hide toolbar buttons:
Code:
plugin.HideGridImage = true; plugin.HideLineImage = true; plugin.HideRectImage = true; plugin.HidePrintImage = true; plugin.HideSearchImage = true; plugin.HideEllipseImage = true; plugin.HideOutlineImage = true; plugin.HideBookmarkImage = true; plugin.HideViewModeImage = true; plugin.HideBookmarkListImage = true;
More
IP: 192.168.0.71 8 years 11 months ago #12198 by gianlucaz
hi dario, thanks for your quick reply.

unfortunately it doesn't work for me.

i'm using the plugin in a ionic framework 2 projeckt (with your cordova plugin).
pdf is opened correctly but the settings do not seem to have any effect.

my code to open the pdf looks like this:
Code:
RadaeePDFPlugin.HideGridImage = true; // 1st try, set properties before pdf is opened RadaeePDFPlugin.open({ url: url, password: password }, function (message) { // Success console.log("OPEN PDF SUCCESS!"); RadaeePDFPlugin.HideGridImage = true; // 2nd try, set property after pdf is openend console.log(message); }, function (err) { // Error console.log("CAN NOT OPEN PDF"); console.log(err); });

can you help?

cheers,
gianluca
More
IP: 192.168.0.71 8 years 7 months ago #12745 by pfrank
Replied by pfrank on topic Toolbar/Button Configuration
Hi,
how can I access these hide properties in Xamarin.Android?
RadaeePDFManager doesn't seem to have these properties. There is no RadaeePDFPlugin like in iOS.

Regards
Patrick
More
IP: 192.168.0.71 8 years 2 months ago #13317 by sasisas
how to implement these in my code
Time to create page: 0.425 seconds
Powered by Kunena Forum