TE Edit Control .NET Core / .NET Framework Help
Product page

TerGetPageParam

Get the page parameters.

int TerGetPageParam(PageNo, type)
int PageNo;Page number (zero based)
int type;The parameter to retrieve:
PP_PAGE_HDR_HT Height of the page header area in twips unit.
PP_PAGE_BODY_HT Height of the page body area (area between the header and footer) in twips unit.
PP_PAGE_FTR_HTHeight of the page footer area in twips unit.
PP_PAGE_BODY_AVAIL_HTHeight of the available area on the body of the page in twips unit.
PP_TOP_SECTSection id at the top of the page.
PP_FIRST_LINEFirst line of the page
PP_LAST_LINELast line of the page
PP_DISP_NODisplay page number.

Return Value: The function returns the value for the requested parameter. It returns FP_ERROR to indicate an error condition.