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

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_HDRThe line is location in a regular page header
LFLAG_FTRThe line is location in a regular page footer
LFLAG_FHDRThe line is location in first page header
LFLAG_FFTRThe line is location in first page footer
RFLAG_FHDRThe line is location in right (odd) page header
RFLAG_FFTRThe line is location in right (odd) page footer
LFLAG_FHDRThe line is location in left (even) page header
LFLAG_FFTRThe line is location in left (even) page footer
0The line is location in page body text