ArcObjects Library Reference  (Geometry)    

IGeometryBridge.SetSegments Method

Replaces all segments with references to the input segments.

[Visual Basic 6.0]
Sub SetSegments(
    ByVal pSegmentCollection As ISegmentCollection, _
    ByVal newSegments() As ISegment _
)
[Visual Basic .NET]
Public Sub SetSegments ( _
    ByVal pSegmentCollection As ISegmentCollection, _
    ByRef newSegments As ISegment[] _
)
[C#]
public void SetSegments (
    ISegmentCollection pSegmentCollection,
    ref ISegment[] newSegments
);
[Java]
public void setSegments (
    ISegmentCollection pSegmentCollection,
    ISegment[] newSegments
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SetSegments(
  ISegmentCollection* pSegmentCollection,
  Array* newSegments
);
[C++]

Parameters

pSegmentCollection [in]

  pSegmentCollection is a parameter of type ISegmentCollection

newSegments [in]

  newSegments is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of ISegmentCollection::SetSegments .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_SetSegments_Example