Set the page currently being viewed in the PdfWebControl instance.
Syntax
function setPageCurrent(pageNumber);Parameters
pageNumber
Type: Integer The page number the viewer should currently be shown. This number should be between 1 and getPageCurrent Method (inclusive)Return Value
Type: Boolean
Returns true if successful. Returns false if fails.
Remarks
This method will return false if the page number is out of range.
Examples
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.setPageCurrent(1); //go to first page