Description
Change the position of an object.
-
Return Type
-
None
-
Syntax
-
object.SetPosition x, y, [Dragging], [FromTool]
The SetPosition Method syntax has these parts: |
| object | An expression evaluating to an object of type McGraphObjLine. | | x | Required. A Single value. x coordinate.
| | y | Required. A Single value. y coordinate.
| | Dragging | Optional. A Boolean value. Set to true when the object is dragged interactively.
| | FromTool | Optional. A Boolean value. Set to True when calling from a graphic tool.
| Remarks
The position is usually the left upper corner of an object's bounding box. If the object does not have its mcgsAllowmove bit set in his Style property, and if FromTool is True, the function will return immediately.
|