ArcGIS Explorer Component Help |
Polyline..::.SetPath Method |
Polyline Class See Also |
Replaces any existing points in the specified path with the specified points.
Namespace:
ESRI.ArcGISExplorer.GeometryAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void SetPath( int pathIndex, IEnumerable<Point> points ) |
Visual Basic (Declaration) |
---|
Public Sub SetPath ( _ pathIndex As Integer, _ points As IEnumerable(Of Point) _ ) |
Parameters
- pathIndex
- Type: System..::.Int32
The index of the path to change.
- points
- Type: System.Collections.Generic..::.IEnumerable<(Of <(Point>)>)
A generic enumerable set of Point objects to set into the specified path.
Remarks
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.