TerGetPageCount
Get the page count and current page number.
boolean TerGetPageCount( out TotalPages, out CurPage)
Upon a successful return from this method, the following information can be retrieved by using TerGetOutInt method:
int TotalPages; | The total number of pages in the document. Upon a successful return from this method, this value can be retrieve as following: TotalPages=tej.TerGetOutInt("TotalPages") |
int CurPage; | The current page number (Zero based) Upon a successful return from this method, this value can be retrieve as following: CurPage=tej.TerGetOutInt("CurPage") |
Comment: This function is valid in the PageMode only.
Return Value: This function returns true when successful.