<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >GetPageCount |
Gets the page count of all reports displayed in the viewer.
Prototype :
integer GetPageCount
(
No Arguments
)
Example :
var objPage = ReportTemplate.GetCurrentPage();
var PageInfo = (objPage.GetPageIndex() + 1) + "/" + objPage.GetPageCount();
Available Events :
OnCheckValidity, OnClick, OnEndBind, OnFocus, OnKillFocus, OnLocationUpdated, OnValueChanged