Adds references to segments. This method is intended for internal use only.
[Visual Basic 6.0] Sub AddSegments(
ByVal Count As Long, _
newSegments As ISegment _
)
[Visual Basic .NET] Public Sub AddSegments ( _ ByVal Count As Integer, _ ByRef newSegments As ISegment _ )
[C#] public void AddSegments ( int Count, ref ISegment newSegments );
[Java] public void addSegments ( int Count, ISegment newSegments ) throws IOException, AutomationException
[C++] HRESULT AddSegments( long Count, ISegment** newSegments );
Parameters
Count
Count is a parameter of type long
newSegments [in]
newSegments is a parameter of type ISegment
Adds the first specified number (Count) of Segments to the Segment Collection from an array of Segments (with at least Count segments). The Segments are all added to the end of the Segment Collection in the same sequence as they are ordered in the array.
Note: the array must contains only ISegment pointers, otherwise it night crash the application.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.