OBJGetRectΒΆ

OBJGetRect returns the position of the lower left and the upper right corner of a drawing object in centimeters.

rvRect = OBJGetRect(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 bottom corner in centimeters

rvPosSize[3]

x-coordinate of the right corner in centimeters

rvPosSize[4]

y-coordinate of the top corner in centimeters

Parameters

hobj

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

id-1930722