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


IRing.Reshape Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRing Interface > IRing.Reshape Method
ArcGIS Developer Help

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