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.

Suggestion for flatannots

More
IP: 80.93.134.202 7 years 3 months ago #14233 by Ferrarini
Good morning,
I tried to use flatAnnots method when I call didShowReader and it works fine. Is it possible to call this method in other callback? For example before closing reader?

Regards,
Maurizio
More
IP: 37.183.44.177 7 years 3 months ago #14234 by federico
Replied by federico on topic Suggestion for flatannots
Dear Maurizio,
You could use flat annot's methods in whatever callback you want but you must have PDF already open and make sure to save your document correctly.
More
IP: 80.93.134.202 7 years 2 months ago #14245 by Ferrarini
Replied by Ferrarini on topic Suggestion for flatannots
Can I use this method into withCloseReader callback?

Regards,
Maurizio
More
IP: 37.183.44.177 7 years 2 months ago #14250 by federico
Replied by federico on topic Suggestion for flatannots
Dear Maurizio,
flatAnnots method works fine while PDF is opened, also before closing reader (willCloseReader callback)
More
IP: 80.93.134.202 7 years 2 months ago #14252 by Ferrarini
Replied by Ferrarini on topic Suggestion for flatannots
Hi Federico,
I tried to call this method into willCloseReader callback, but logcat printed this error:
"Failure: Document flattering error".

Here my simple function:

function willCloseReader() {
RadaeePDFPlugin.flatAnnots(null,
function(message) {
console.log("Success: " + message);
},
function(err) {
console.log("Failure: " + err);
});
}

Can you help me?

Regards,
Fabio
More
IP: 37.183.44.177 7 years 2 months ago - 7 years 2 months ago #14253 by federico
Replied by federico on topic Suggestion for flatannots
Dear Fabio,
We've just released a new version where we moved willCloseReaderCallback at now it allow you to use flatAnnot on your function willCloseReader.
Now this feature is available for Cordova on iOS and Android version too
Last edit: 7 years 2 months ago by federico.
Time to create page: 0.386 seconds
Powered by Kunena Forum