TerGetHdrFtrPos
Check if a line is location in a header or footer area
int TerGetHdrFtrPos(line)
long line; | The line number to find the position. Set to -1 to find the location for the current line. |
Return Value: This function returns the following values to indicate the line position:
| LFLAG_HDR | The line is location in a regular page header |
| LFLAG_FTR | The line is location in a regular page footer |
| LFLAG_FHDR | The line is location in first page header |
| LFLAG_FFTR | The line is location in first page footer |
| RFLAG_FHDR | The line is location in right (odd) page header |
| RFLAG_FFTR | The line is location in right (odd) page footer |
| LFLAG_FHDR | The line is location in left (even) page header |
| LFLAG_FFTR | The line is location in left (even) page footer |
| 0 | The line is location in page body text |