OBJGetPosSizeΒΆ

OBJGetPosSize returns the position and the size of a drawing object or a diagram in centimeters.

rvPosSize = OBJGetPosSize(hobj)

Return Value

rvPosSize is a vector with 4 elements:

Value Meaning
rvPosSize[1] x-coordinate of the left corner in centimeters
rvPosSize[2] y-coordinate of the lower corner in centimeters
rvPosSize[3] width of the drawing object in centimeters
rvPosSize[4] height of the drawing object in centimeters

Parameters

hobj

hobj identifies a line, text, rectangle, ellipse or layer (diagram) object.

id-621773