Toolbar/Button Configuration - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC: Toolbar/Button Configuration

Toolbar/Button Configuration 1 year 3 weeks ago #12185

  • gianlucaz
  • gianlucaz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Last Edit: by gianlucaz.

Toolbar/Button Configuration 1 year 2 weeks ago #12197

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 489
  • Karma: 15
  • Thank you received: 53
Hi,

you can use plugin properties to hide toolbar buttons:
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;

Please Log in or Create an account to join the conversation.

Toolbar/Button Configuration 1 year 2 weeks ago #12198

  • gianlucaz
  • gianlucaz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
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:
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

Please Log in or Create an account to join the conversation.

Toolbar/Button Configuration 8 months 2 weeks ago #12745

  • pfrank
  • pfrank's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Karma: 1
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Toolbar/Button Configuration 3 months 2 weeks ago #13317

  • sasisas
  • sasisas's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
how to implement these in my code

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum