This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IT > ITransform2D Interface > ITransform2D.MoveVector Method (ArcObjects .NET 10.5 SDK) |
Moves a direction and distance v. v can be in a different spatial reference than the geometry being moved.
[Visual Basic .NET] Public Sub MoveVector ( _ ByVal v As ILine _ )
[C#] public void MoveVector ( ILine v );
[C++]
HRESULT MoveVector(
ILine* v
);
[C++]
Parameters v
v is a parameter of type ILine
Moves the Geometry dX units along the X-Axis and dY units along the Y-Axis, where dX and dY are calculated from the input vector Line. Only the Length and Angle of the vector affect the transformation. The location of the vector does not change the transformation. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.