deletePage Method |
Deletes this page from the currently loaded document.
function deletePage();
None
Type: Boolean
true if operation completed successfully; otherwise, false.This page can not be deleted if it is the last page in the document.
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance //delete the current page myApi.getPageViewed().deletePage();