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.

Document Help

More
IP: 212.97.62.176 6 years 3 months ago #14754 by federico
Replied by federico on topic Document Help
Hi Robert,
Using Radaee.setToolbarEnabled method with last RadaeePDF Cordova's plugin downloaded from GitHub you should have all buttons removed except back button on
Code:
RadaeePDFPlugin.setToolbarEnabled( { enabled: false }, function (message) { console.log("Success: " + message); }, function (err) { console.log("Failure: " + err); });
and you should have all buttons enabled with
Code:
RadaeePDFPlugin.setToolbarEnabled( { enabled: true }, function (message) { console.log("Success: " + message); }, function (err) { console.log("Failure: " + err); });
Here's some screenshots
More
IP: 173.59.230.146 6 years 3 months ago - 6 years 3 months ago #14759 by robertlforsyth
Replied by robertlforsyth on topic Document Help
Just a note... when I run on iOS, the entire upper toolbar is not visible.

When I call this function, that I wrapped in a 'about to start' and 'done' console logging before and after the line, I do not see any logging from the message/err calls in the function line. I do see the 'success' message from the activating call right before it. It almost seems like the function is not being processed.
Last edit: 6 years 3 months ago by robertlforsyth.
More
IP: 37.183.44.177 6 years 3 months ago - 6 years 3 months ago #14761 by federico
Replied by federico on topic Document Help
Hi,
Have you got the same problem with RadaeePDF Cordova's demo version?
Could you send us your js code section where you set and show reader?
Last edit: 6 years 3 months ago by federico.
More
IP: 173.59.230.146 6 years 3 months ago #14763 by robertlforsyth
Replied by robertlforsyth on topic Document Help
function LoadDoc(thefile) {

console.log('about to set toolbar');
RadaeePDFPlugin.setToolbarEnabled(
{
enabled: true
},
function (message)
{
console.log("Success: "+message);
},
function (err)
{
console.log("Failure: " + err);
}
);

console.log('done set toolbar');

RadaeePDFPlugin.setReaderViewMode( {mode: 6},function (message) {console.log("setview Success: "+message);},function (err) {console.log("setviewFailure: " + err); });

RadaeePDFPlugin.setThumbHeight( {height: 150},function (message) {console.log("setthumbheight Success: "+message);},function (err) {console.log("setviewFailure: " + err); });


var n = thefile.indexOf("https://");
writeLog('[401] LoadDoc - '+thefile)
$( "#loader" ).show();
//alert(n);
if (n < 0) {
writeLog('opening local');
//alert('local - '+thefile);
RadaeePDFPlugin.open({url: thefile,password: ""},function(message) {console.log("Success: " + message);},function(err){alert("Could not load Panorama: " + err);console.log("Failure: " + err);});
} else {
if (isOnline == '0') {
alert('Network not detected');
} else {
writeLog('opening http');
RadaeePDFPlugin.open({url: thefile,password: ""},function(message) {console.log("Success: " + message);},function(err){alert("Could not load Panorama: " + err);console.log("Failure: " + err);});
}
}
$( "#loader" ).hide();

};
More
IP: 173.59.230.146 6 years 3 months ago #14764 by robertlforsyth
Replied by robertlforsyth on topic Document Help
here is a screen grab after the open
More
IP: 212.97.62.176 6 years 3 months ago #14770 by federico
Replied by federico on topic Document Help
Hi,
I tried setting view mode 6 and thumb 150 height and also opening PDF from URL with RadaeePDF Cordova's demo version but I still have no problems about enable/disable toolbar, also with iPhone 11 simulator
I suggest you to try with demo version and start your project based on it.
Then if you still have some problems, if you send us your project we could try to see what's wrong.
Time to create page: 0.383 seconds
Powered by Kunena Forum