Knowledge Base - How to save a new PDFs

Below you can find an example on how to save an edited document like a new PDF.

These methods work with professional and premium license.

saveDocumentToPath method will save your PDF in a new file in document directory.

Here's an example of saveDocumentToPath method when reader is shown:

function didShowReader()
{
    console.log("--- Callback: didShowReader");
string path = "yourPath/yourPDFName.pdf";
     RadaeePDFPlugin.saveDocumentToPath({path: path},
                                function(message) {
                                console.log("Success: " + message);
                                },
                                function(err) {
                                console.log("Failure: " + err);
                                });
}

        

Applies To

RadaeePDF SDK for Cordova

Details

Created : 2018-11-20 16:42:42, Last Modified : 2018-11-22 10:45:11