ArcObjects Library Reference (Geometry)  

ITransform2D.Move Method

Moves dx units horizontally and dy units vertically.

[Visual Basic .NET]
Public Sub Move ( _
    ByVal dx As Double, _
    ByVal dy As Double _
)
[C#]
public void Move (
    double dx,
    double dy
);
[C++]
HRESULT Move(
  double dx,
  double dy
);
[C++]

Parameters

dx   dx is a parameter of type double dy   dy is a parameter of type double

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.  Only changes the position of the Geometry without altering any of the other characteristics.  Move is a spatial offset.

Remarks

 

Transform2D Move Example

See Also

ITransform2D Interface

.NET Snippets

Transform Point |

.NET Samples

Create custom move, rotate, and scale GeometricEffects within a single project (Code Files: clsGE_Transform_Move) | Implementing a schematic layout algorithm and its layout property page (Code Files: TranslateTree) |

.NET Related Topics

How to create a multipoint object from the vertices of a polyline | How to modify a specific segment of a polyline | How to modify a specific vertex of a polyline | How to use the IEnumSegment methods | How to use the IEnumVertex methods | Updating geometry of existing features | Working with PageLayout elements |