Editions
Related Functions
Example
The IN_MoveVectorObject function moves a specified vector object on the specified layer. Depending on your edition of Imagenation, you can move arcs, lines, polylines, polygons, ellipses, annotations, and text.
Syntax
int IN_MoveVectorObject( layerID, vectObjectID, units, x1, y1, angle, scale )
|
Parameters |
Values |
Meaning |
|
long layerID |
identifier of the layer with the object to select | |
|
long vectObjectID |
identifier of the object to move | |
|
int units |
units of input value in x1 and y1: | |
|
double x1, y1 |
when angle = 0, distance to move in x and y directions when angle ¹ 0, distance to move the center of the object MER at angle. See Remarks. | |
|
double angle |
angle to move the object, expressed in radians | |
|
double scale |
defines the scale factor of the object. Default is 1. Must be positive. If scale = 1, the object is moved without scaling. | |
Remarks
The MER is the minimum enclosing rectangle around the vector object.
Release information
Added to Imagenation for Windows in Release 8.0.
See also