ObjectSetRect

 

Change the location of the object.

 

void @ObjectSetRect(string classname, int x1, int y1, int x2, int y2);

 

Parameters

string classname : Class name of object

int x1 : Coordinate x1 of objects to change

int y1 : Coordinate y1 of objects to change

int x2 : Coordinate x2 of objects to change

int y2 : Coordinate y2 of objects to change

 

Return Value

None

 

Example

@ObjectSetRect("Line2", $X1, $Y1, $X2, $Y2);

 

Description : Change the location of the LINE2 object to the values of x1, y1, x2, y2 tags.

 

Version Information

Supported Version: 10.2.8

(10.3.6.8 : Modified to be applied to group objects.)

 

Related Helps

@ObjectGetClassName()

@ObjectSetBackColor()

@ObjectSetFillColor()

@ObjectSetFillOption()

@ObjectSetFont()

@ObjectSetFontName()

@ObjectSetFontSize()

@ObjectSetFontStyle()

@ObjectSetLineColor()

@ObjectSetLineOption()

@ObjectSetLineThick()

@ObjectSetRect()

@ObjectSetRotationAxis()

@ObjectSetTag()

@ObjectSetText()

@ObjectSetTextColor()

@ObjectSetToolTipText()

@ObjectSetVisible()