TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >

 

GetVerticalPageIndex

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >

 

GetVerticalPageIndex

 

 

Gets the index of the current vertical page.

 

 

 

Prototype :

 

integer GetVerticalPageIndex

(

        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.GetVerticalPageIndex() + 1) + "/" + objPage.GetVerticalPageCount();

 

 

 

Available Events :

 

OnAddToPage,  OnCheckValidity,  OnClick,  OnEndBind,  OnFocus,  OnKillFocus,  OnLocationUpdated,  OnValueChanged