ArcObjects Library Reference (Geometry)  

ITransform2D.MoveVector Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Remarks

 

Transform2D MoveVector Example

See Also

ITransform2D Interface