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

TerGetFrameSize

Retrieve the location and size of the frame.

bool TerGetFrameSize( FrameId, out x, out y, out width, out height)
int FontId;Frame id to inquire. If the frame id is 0, the function returns the values for the frame at the current cursor location.
int x;variable to receive the x location relative to the left edge of the page in twips units.
int y;variable to receive the y location relative to the top edige of the page in twips units.
int width;variable to receive the width of the frame in twips.
int height;variable to receive the height of the frame in twips.

Return Value: This function returns true when successful.