## FeaturesSequence.GetExtent method

Gets a spatial extent of this layer.

```csharp
public virtual Extent GetExtent()
```

### Return Value

A spatial extent of this layer.

### Exceptions

| exception | condition |
| --- | --- |
| InvalidOperationException | is thrown if layer is opened write-only. |

### See Also

* class [Extent](../../extent/)
* class [FeaturesSequence](../)
* namespace [Aspose.Gis](../../featuressequence/)
* assembly [Aspose.GIS](../../../)


