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 | SpatialReferenceSystem of this geometry and SpatialReferenceSystem of argument are both not null and don’t equal to each other. |
See Also
- interface IPoint
- class LineString
- namespace Aspose.Gis.Geometries
- assembly Aspose.GIS