DbSpatialServices.GetEnvelope Method (DbGeometry)

.NET Framework (current version)
 

Gets the envelope (minimum bounding box) of the given DbGeometry value, as a geometry value.

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract DbGeometry GetEnvelope(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value for which the envelope value should be retrieved.

Return Value

Type: System.Data.Spatial.DbGeometry

The envelope of geometryValue, as a DbGeometry value.

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show: