TerInsertParaFrame
Insert a paragraph frame.
int TerInsertParaFrame( x, y, width, height,boxed)
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. |
boolean boxed; | true to create a border around the frame |
Description: This function creates an empty paragraph frame and positions the cursor inside the frame.
Return Value: When successful this function returns the paragraph frame id of the new paragraph frame. Otherwise it returns 0.