Next: Handling Text Frames Up: Object related Commands Previous: Getting Object Properties   Index

Manipulating Objects

GroupObjects([list])
Groups the objects in ``list'' together. ``list'' must contain the names of the objects to be grouped. If ``list'' is not given the currently selected Items are used.
MoveObject(dx, dy, [``name''])
Moves the object ``name'' by dx and dy relative to its origin. The distances are expressed in the actual measurement unit of the document. If ``name'' is not given the currently selected Item is used. If the object ``name'' belongs to a group, the whole group is moved.
MoveObjectAbs(x, y, [``name''])
Moves the object ``name'' to a new location. The coordinates are expressed in the actual measurement unit of the document. If ``name'' is not given the currently selected item is used. If the object "name" belongs to a group, the whole group is moved.
RotateObject(rot, [``name''])
Rotates the object ``name'' by ``rot'' degrees. Positve values mean counter clockwise rotation. If ``name'' is not given the currently selected item is used.
RotateObjectAbs(rot, [``name''])
Sets the rotation of the object ``name'' to ``rot''. Positve values mean counter clockwise rotation. If ``name'' is not given the currently selected item is used.
ScaleGroup(factor, [``name''])
Scales the group the object ``name'' belongs to. Values greater than 1 enlarge the group, values smaller than 1 make the group smaller e.g a value of 0.5 scales the group to 50 % of is original size, a value of 1.5 scales the group to 150 % of its original size. The value for ``factor'' must be greater than 0. If ``name'' is not given the currently selected Item is used.
SizeObject(width, height, [``name''])
Resizes the object ``name'' to the given width and height. If ``name'' is not given the currently selected item is used.
UnGroupObject([``name''])
Destructs the group the object ``name'' belongs to. If ``name'' is not given the currently selected item is used.


Next: Handling Text Frames Up: Object related Commands Previous: Getting Object Properties   Index