Download the document currently open in the PdfWebControl instance.
Type: Booleantrue if download initiated successfully; otherwise, false.
This method will start the download process asynchronously, however it does not wait for the download to complete.
Unsaved changes made to the current document will be saved to the server prior to it being downloaded. You can use the getHasUnsavedChanges Method to determine if the current document has unsaved changes.
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.download();