movePage Method |
Moves this page to a different location in this document.
function movePage(newPageNumber);
newPageNumber
Type: Integer The new page number for this page.Type: Boolean
true if operation completed successfully; otherwise, false.The new page number must be between 1 and the value returned by the getPageCount Method (inclusive).
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance //move the current page to the first page myApi.getPageViewed().movePage(1);