OBJGetPosWCΒΆ
OBJGetPosWC returns the position of a drawing object in diagram coordinates (World Coordinates).
-
rvPosWC = OBJGetPosWC(hobj)
Return Value
rvPosWC rvPosWC is a vector with 2 elements. For line objects the vector has 4 elements:
Value | Meaning |
---|---|
rvPosWC[1] | x-coordinate in diagram coordinates. |
rvPosWC[2] | y-coordinate in diagram coordinates. |
rvPosWC[3] | x-coordinate of the second line point in diagram coordinates. |
rvPosWC[4] | y-coordinate of the second line point in diagram coordinates. |
Parameters
-
hobj
hobj identifies a line, text, rectangle or ellipse object.
See also
id-489939