If you are using RadaeePDF in your Cordova application, you may show/hide buttons in the toolbar to customize the set of features allowed to your end-user.
The javascript method shall adopt is:
RadaeePDFPlugin.setBarButtonVisibility().
And specify code for the name of the button, and a boolean value for the visibility
Here's an example:
RadaeePDFPlugin.setBarButtonVisibility(
{
code: "btn_view",
visibility: false,
},
function(message) {
console.log("Success: " + message);
},
function(err){
console.log("Failure: " + err)});
Here's a list of the buttons you can set the visibility of:
btn_search
btn_draw
btn_sel
btn_undo
btn_redo
btn_more
And these are android-only:
btn_outline
btn_save
btn_share
btn_print
btn_add_bookmark
btn_show_bookmarks
RadaeePDF SDK for Cordova
Created : 2020-09-04 15:02:43, Last Modified : 2021-06-03 08:24:20