TE Edit Control Win32 / Win64 Help
Product page

TerGetPageSect

Return the section id for a page.

int TerGetPageSect(hWnd, PageNum)
HWND hWnd;The handle of the window to be accessed
int PageNum;Page number between 0 and TotalPages-1

Description: This function is available in the PageMode or PrintView mode only.

Return Value: This function returns the section number containing the first line of a page.