This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRing Interface > IRing.Reshape Method (ArcObjects .NET 10.4 SDK) |
Modifies this ring by replacing some of its segments with some segments from reshapeSource.
[Visual Basic .NET] Public Function Reshape ( _ ByVal reshapeSource As IPath _ ) As Boolean
[C#] public bool Reshape ( IPath reshapeSource );
[C++]
HRESULT Reshape(
IPath* reshapeSource,
VARIANT_BOOL* reshapeHappened
);
[C++]
Parameters reshapeSource
reshapeSource is a parameter of type IPath reshapeHappened [out, retval] reshapeHappened is a parameter of type VARIANT_BOOL
Reshape replaces the Segments in the Ring between consecutive Intersections with the input Path segments that connect those intersections. Reshape returns a boolean indicating whether or not a modification to the Ring occurred.
To Reshape a Polygon, the Polygon must be Reshaped one Ring at a time.
IRing Interface | IRing.Reshape Method | IPolyline.Reshape Method