ArcGIS Explorer Component Help |
Multipoint..::.SetPoints Method |
Multipoint Class See Also |
Sets the value of a subset of Points in the Multipoint by copying in the specified Points, starting
at a specified index, leaving all other Points unchanged.
Namespace:
ESRI.ArcGISExplorer.GeometryAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void SetPoints( int firstPointIndex, IEnumerable<Point> points ) |
Visual Basic (Declaration) |
---|
Public Sub SetPoints ( _ firstPointIndex As Integer, _ points As IEnumerable(Of Point) _ ) |
Parameters
- firstPointIndex
- Type: System..::.Int32
The index of the first Point to change.
- points
- Type: System.Collections.Generic..::.IEnumerable<(Of <(Point>)>)
A generic enumerable set of Point objects to copy in to the Multipoint. Cannot be null.
Remarks
Points before firstPointIndex are left unchanged. Points after the and after the number of points in points are left unchanged
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentOutOfRangeException | The number of points (accounting for the firstPointIndex, cannot exceed the number of existing Points in the Multipoint. |
System..::.ArgumentNullException | The points parameter cannot be null. |
System..::.InvalidOperationException | The points parameter must contain at least one Point. |