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

TerCreateParaFrameId

Create a paragraph frame id without inserting it in the document.

int TerCreateParaFrameId( x, y, width, height)
int x;X location of the frame rectangle specified in the Twips unit. The x location is relative to the left margin of the page. Specify -1 to assume the current cursor position for the x value.
int y;Y position of the frame rectangle specified in the Twips unit. The Y position is relative to the beginning of the current paragraph. Specify -1 to assume the current cursor position for the y value.
int width;Initial width of the frame rectangle in the Twips unit. Specify -1 to use the default value.
int height;Initial height of the frame rectangle in the Twips unit. Specify -1 to use the default value.

Return Value: When successful this function returns the paragraph frame id of the new paragraph frame. Otherwise it return 0.