ArcGIS Explorer Component Help |
Polyline..::.SetPoints Method |
Polyline Class See Also |
Replaces an existing Point in the Polyline with a copy of the specified Point.
Overload List
Name | Description | |
---|---|---|
SetPoints(Int32, IEnumerable<(Of <(Point>)>)) |
Replaces the points beginning at the specified index within the Polyline with a copy of the specified points.
If the Polyline has more than one path, the Point is set into the first path.
| |
SetPoints(Int32, Int32, IEnumerable<(Of <(Point>)>)) |
Replaces the points beginning at the specified index within the specified path of the Polyline with a copy of the specified points.
|
Remarks
The points of a Polyline are retrieved and set by value; therefore new points are always copied in to the Polyline, not added directly. Polyline methods without a path index parameter work for both single part and multipart Polyline; if called on a multipart Polyline, methods without a path index work against the first path in the Polyline.
Note that the CoordinateSystem property of any new points added, inserted or set into existing an existing Polygon or Polyline will be discarded, and the coordinates (X and Y properties) of the point assumed to be in the same CoordinateSystem as the Polygon or Polyline to which they are added.