TerGetPageParam
Get the page parameters.
int TerGetPageParam(hWnd, PageNo, type)
HWND hWnd; | The handle of the window to be accessed |
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_HT | Height of the page footer area in twips unit. |
PP_PAGE_BODY_AVAIL_HT | Height of the available area on the body of the page in twips unit. |
PP_TOP_SECT | Section id at the top of the page. |
PP_FIRST_LINE | First line of the page |
PP_LAST_LINE | Last line of the page |
PP_DISP_NO | Display page number. |
Return Value: The function returns the value for the requested parameter. It returns FP_ERROR to indicate an error condition.