<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >GetHorizontalPageIndex |
Gets the index of the current horizontal page.
Prototype :
integer GetHorizontalPageIndex
(
No Arguments
)
Reference :
The page index begins from 0 and the page number becomes the page index plus 1.
Example :
var objPage = ReportTemplate.GetCurrentPage();
var PageInfo = (objPage.GetHorizontalPageIndex() + 1) + "/" + objPage.GetHorizontalPageCount();
Available Events :
OnAddToPage, OnCheckValidity, OnClick, OnEndBind, OnFocus, OnKillFocus, OnLocationUpdated, OnValueChanged