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

TerSetNewFrameDim

Set the default dimensions for a new frame.

bool TerSetNewFrameDim(x,y,width,height,PageTop)
int x;The default x location for the new frame. Set this parameter to -1 to insert the new frame at the current cursor location.
int y;The default y location for the new frame. Set this parameter to -1 to insert the new frame at the current cursor location.
int width;The default width for the new frame. Set this parameter to 0 to leave it unchanged.
int height;The default height for the new frame. Set this parameter to 0 to leave it unchnaged.
bool PageTop;Set to true to create the frames relative to the top of the page.

Description: The values passed by this function are used by any subsequent calls to the TerInsertParaFrame and TerInsertDrawObject functions as default values.

Return Value: This function returns true if successful.