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

TerGetPageOffset

Retrieve the visible page offset and page dimension.

bool TerGetPageOffset(page, rel, out x, out y, out width, out height)
int page;The page number to retrieve the offset.
int rel;This variable can be set to one of the following constants:
REL_TEXT_BOXGet offset relative to the top of the text area.
REL_WINDOWGet offset relative to the top of the window's client area.
int x;Page offset in the x direction in screen units.
int y;Page offset in the y direction in screen units.
int width;Visible page width in screen units.
int height;Visible page height in screen units.

Return Value: This function returns true if the page is visible.