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,
  VARIANT_BOOL* reshapeHappened
);
[C++]

Parameters

reshapeSource

  reshapeSource is a parameter of type IPath

reshapeHappened [out, retval]   reshapeHappened is a parameter of type VARIANT_BOOL

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