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


IFeature.ShapeCopy Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeature.ShapeCopy Property

A cloned copy of the default shape for the feature.

[Visual Basic .NET]
Public ReadOnly Property ShapeCopy As IGeometry
[C#]
public IGeometry ShapeCopy {get;}
[C++]
HRESULT get_ShapeCopy(
  IGeometry** Shape
);
[C++]

Parameters Shape [out, retval]
Shape is a parameter of type IGeometry

Product Availability

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

Remarks

The ShapeCopy property is a cloned copy of the feature�s Shape. When modifying the geometry of a feature or a set of features, use the ShapeCopy property to obtain a copy of the feature's geometry, perform the modification on the geometries, then apply the modifications by setting the geometry to the Shape property.

See Also

IFeature Interface

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin) | Custom reshape polyline edit task (Code Files: ReshapePolylineEditTask) | Implementing an XML builder external component (Code Files: XMLDocImpl) | StreetMap routing (Code Files: RoutingForm)

.NET Related Topics

Executing spatial queries | How to merge conflicting geometries during a reconcile