Get the page currently being viewed in the PdfWebControl instance.
Syntax
function getPageCurrent();Parameters
None
Return Value
Type: Integer
Returns the number of the page currently being viewed
Remarks
This method will return a number less than 1 if no pages are found or a document is not open.
Examples
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance window.alert("You are viewing page " + myApi.getPageCurrent() + " of " + myApi.getPageCount() + ".");