Save the document currently open in the PdfWebControl instance.
Syntax
function save(async);Parameters
async
Type: Boolean If true, the referenced PdfWebControl instance will save asynchronously (return immediately). If false, the referenced PdfWebControl instance will save synchronously (wait until complete, then return).Return Value
Type: Boolean
Returns true if successful. Returns false if document is not properly saved.
Remarks
This method will always return true if async is true.
Examples
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.save(false); //this will save the data currently in PdfWebControl synchronously (wait until complete)