TerGetSectInfo
Retrieve the current section parameters.
boolean TerGetSectInfo()
Upon a successful return from this method, the TerGetOutInt and TerGetOutBool methods can be used to retrieve the temporarily saved values for these variables:
int NumCols; | The variable to receive the number of columns for the section. To retrieve this value after calling this method: NumCols=tej.TerGetOutInt("NumCols") |
int ColSpace; | The variable to receive the space between the columns in Twips. To retrieve this value after calling this method: ColSpace=tej.TerGetOutInt("ColSpace") |
boolean NewPage; | This variable receives true if the section starts on a new page, otherwise it receives a false. To retrieve this value after calling this method: NewPage=tej.TerGetOutBool("StartPage") |
int FirstPageNo; | This variable receives 0 if this section uses continuous page numbering, otherwise it receives the page number of the first page for this section. To retrieve this value after calling this method: FirstPageNo=tej.TerGetOutInt("FirstPageNo") |
Return Value: The function returns true when successful.