LineString.Item
LineString indexer
Gets or sets the IPoint at the specified index.
public IPoint this[int index] { get; set; }
| Parameter | Description | 
|---|---|
| index | The index. | 
Property Value
The IPoint.
Exceptions
| exception | condition | 
|---|---|
| ArgumentOutOfRangeException | Index is out of range. | 
| ArgumentNullException | The value is null. | 
| ArgumentException | Point is empty. | 
| ArgumentException | SpatialReferenceSystemof this geometry andSpatialReferenceSystemof argument are both notnulland don’t equal to each other. | 
See Also
- interface IPoint
- class LineString
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS