Applies to |
Moves the shape to a new location.
Object.Move ( method As QfTransformType, v As Point, [f As Double] ) As ShapeRange
Geometric transformations available with move operation are:
Displacement: parallel displacement is applied to selected objects for specified displacement vector. Parameters needed are displacement vector components.
Rotation: selected objects are rotated around the specified point for the specified angle. Parameters needed are center of rotation coordinates and angle measured in radians.
Scaling: selected objects are dilated (constricted) by means of homothetic transformation. Parameters needed are center of homothety and scaling factor.
The following table clarifies the parameters meaning with various transformation types:
Transformation Type |
Method parameter as QfTransformType constant |
V parameter |
F parameter |
Displacement |
qfShift |
Displacement vector |
N/A |
Rotation |
qfRotation |
The center of rotation |
The rotation angle in radians |
Scaling |
qfScaling |
The center of homothety |
The scaling factor that is always positive and can be great (dilatation) or less (constriction) then one. |
The V parameter if omitted is defaulted to the origin (0, 0), and F parameter - to zero.