TE Edit Control Win32 / Win64 Help
Product page

TerGetSectInfo

Retrieve the current section parameters.

BOOL TerGetSectInfo(hWnd, NumCols, ColSpace, NewPage, FirstPageNo)
HWND hWnd;The handle of the window to be accessed
LPINT NumCols;The pointer to receive the number of columns for the section
LPINT ColSpace;The pointer to receive the space between the columns in Twips.
LPINT NewPage;This pointer receives 1 if the section starts on a new page, otherwise it receives a 0.
LPINT FirstPageNo;This pointer receives 0 if this section uses continuous page numbering, otherwise it receives the page number of the first page for this section.

Return Value: The function returns TRUE when successful.