This document is archived and information here might be outdated.  Recommended version.


ITransform2D Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IT > ITransform2D Interface
ArcGIS Developer Help

ITransform2D Interface

Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).

Product Availability

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

When To Use

ITransform2D is a generic interface implemented by most elements and geometries (i.e., CircleElement, FrameElement, Point, Line, Polygon, etc.).  Use this interface when you want to update the position of the element or geometry through some type of Euclidan 2D transformation opertion (move, rotate, scale, or transform).

Members

Name Description
Method Move Moves dx units horizontally and dy units vertically.
Method MoveVector Moves a direction and distance v. v can be in a different spatial reference than the geometry being moved.
Method Rotate Rotates about the specified origin point. The angle is in radians. The origin can be in a different spatial reference than the geometry being rotated.
Method Scale Scales about the specified origin using seperate horizonal and vertical scales. The origin point can be in a different spatial reference than the geometry being scaled.
Method Transform Applies an arbitrary transformation. In particular, the transformation parameter can be either an affine transformation or a geographic transformation (datum shift).

Classes that implement ITransform2D

Classes Description
BezierCurve A cubic Bezier curve defined between two points; optionally has measure, height and ID attributes at each endpoint.
BmpPictureElement (esriCarto) The Graphic Element to display BMP Pictures.
CircleElement (esriCarto) The Graphic Element to display Circles.
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.
DataGraphTElement (esriCartoUI) A container for the display and manipulation of data graph graphic element on the ArcMap layout view.
DimensionShape (esriCarto) A dimension shape associated with a dimesion feature.
DisplacementLinkElement (esriEditorExt) The Graphic Element to display adjustment links.
EllipseElement (esriCarto) The Graphic Element to display Ellipses.
EllipticArc A portion of the boundary of a 2D ellipse that connects two points; optionally has measure, height and ID attributes at each endpoint.
EmfPictureElement (esriCarto) The Graphic Element to display Emf Pictures.
Envelope A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
FrameElement (esriCarto) The Frame element to provide a neatline or background.
GeometryBag An ordered collection of objects that support the IGeometry interface.
GifPictureElement (esriCarto) Graphic Element to display GIF Pictures.
GroupElement (esriCarto) The Group Graphic Element to display a group of graphic elements.
IdentityLinkElement (esriEditorExt) The Graphic Element to display identity links.
ImgPictureElement (esriCarto) Graphic Element to display IMG Pictures. This coclass is deprecated. It will not be available in a future release.
InkGraphic (esriCarto) Ink Graphic Object.
Jp2PictureElement (esriCarto) Graphic Element to display JPEG2000 Pictures.
JpgPictureElement (esriCarto) Graphic Element to display JPG Pictures.
Line A 2D straight line between a pair of 2D endpoints; can optionally have height, measure and ID attributes at each endpoint.
LineElement (esriCarto) The Graphic Element to display lines.
MapFrame (esriCarto) A graphic element for displaying maps.
MapSurroundFrame (esriCarto) A graphic element for displaying map surrounds.
MarkerElement (esriCarto) The Graphic Element to display markers.
MultiPatch A collection of surface patches.
MultiPatchElement (esriCarto) The MultiPatch Graphics Element CoClass.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
OleFrame (esriArcMapUI) The OLE frame.
ParagraphTextElement (esriCarto) The Graphic Element to display text which flows into an area geometry.
Path A sequence of connected segments.
PictureElement (esriCarto) Picture Graphic Element.
PMFTitleTextElement (esriCarto) The Graphic Element to display dynamic PMF titles.
PngPictureElement (esriCarto) Graphic Element to display PNG Pictures.
Point A two dimensional point, optionally with measure, height, and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
PolygonElement (esriCarto) The Graphic Element to display polygons.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.
RectangleElement (esriCarto) The Graphic Element to display rectangles.
Ring An area bounded by one, closed sequence of connected segments; optionally has measure, height and ID attributes at each vertex.
SidPictureElement (esriCarto) Graphic Element to display SID Pictures. This coclass is deprecated. It will not be available in a future release.
TableFrame (esriEditorExt) Graphic Element to display table.
TemporalChartElement (esriTrackingAnalystUI) Controls elements of the temporal charts.
Text3DElement (esriCarto) The Text3D Graphics Element CoClass.
TextElement (esriCarto) The Graphic Element to display text.
TifPictureElement (esriCarto) Graphic Element to display TIF Pictures.
TriangleFan A continuous 3D fan of triangles, where each triangle after the first shares an edge with the preceding triangle, and all triangles share a common pivot point.
Triangles A collection of 3D triangles, where each consecutive triplet of vertices defines a new triangle
TriangleStrip A continuous 3D strip of triangles, where each triangle after the first shares an edge with the preceding triangle.

.NET Samples

Move a graphic along a path in ArcMap Create custom move, rotate, and scale GeometricEffects within a single project Create custom move, rotate, and scale GeometricEffects within a single project Create custom move, rotate, and scale GeometricEffects within a single project 3D multipatch examples Implementing a schematic layout algorithm and its layout property page