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


IRing.Reshape Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IRing.Reshape Method

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
);
[C++]

Parameters reshapeSource
reshapeSource is a parameter of type IPath*

Product Availability

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

Description

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.

Remarks

To Reshape a Polygon, the Polygon must be Reshaped one Ring at a time.

See Also

IRing Interface | IRing.Reshape Method | IPolyline.Reshape Method