ArcObjects Library Reference  (Geometry)    

IPolyline.Reshape Method

Modifies this polyline by replacing some of its segments with some segments from reshapeSource.

[Visual Basic 6.0]
Function Reshape(
    ByVal reshapeSource As IPath _
) As Boolean
[Visual Basic .NET]
Public Function Reshape ( _
    ByVal reshapeSource As IPath _
) As Boolean
[C#]
public bool Reshape (
    IPath reshapeSource
);
[Java]
public Boolean reshape (
    IPath reshapeSource
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Reshape(
  IPath* reshapeSource,
  VARIANT_BOOL* didReshape
);
[C++]

Parameters

reshapeSource

  reshapeSource is a parameter of type IPath

didReshape [out, retval]

  didReshape 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 Polyline between consecutive Intersections with the input Path segments that connect those intersections.  Reshape returns a boolean indicating whether or not a modification to the Polyline occurred.

Remarks

Note: For multipart (more than one path) polyline output part ordering may not be preserved. The orientation of vertices within parts is preserved.

See Also

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

 


Feedback Send feedback on this page