TE Edit Control Java / HTML-JavaScript Help
Product page

TerInsertLineObject

Insert a line object.

int TerInsertLineObject( x1, y1, x2, y2)
int x1;X position of the first point of the line.
int y1;Y position of the first point of the line.
int x2;X position of the second point of the line.
int y2;Y position of the second point of the line.

Comments: The point positions are specified in the twips units. The x locations are relative to the left margin of the page. The Y positions are relative to the beginning of the current paragraph.

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