GetBounds Method

The geographic get bounds.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub GetBounds ( _
    operand As Geography, _
    <OutAttribute> ByRef minX As Double, _
    <OutAttribute> ByRef minY As Double, _
    <OutAttribute> ByRef maxX As Double, _
    <OutAttribute> ByRef maxY As Double _
)
'Usage
Dim operand As Geography
Dim minX As Double
Dim minY As Double
Dim maxX As Double
Dim maxY As Double

operand.GetBounds(minX, minY, maxX, _
    maxY)
public static void GetBounds(
    this Geography operand,
    out double minX,
    out double minY,
    out double maxX,
    out double maxY
)
[ExtensionAttribute]
public:
static void GetBounds(
    Geography^ operand, 
    [OutAttribute] double% minX, 
    [OutAttribute] double% minY, 
    [OutAttribute] double% maxX, 
    [OutAttribute] double% maxY
)
static member GetBounds : 
        operand:Geography * 
        minX:float byref * 
        minY:float byref * 
        maxX:float byref * 
        maxY:float byref -> unit 
public static function GetBounds(
    operand : Geography, 
    minX : double, 
    minY : double, 
    maxX : double, 
    maxY : double
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Geography. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

GeographyOperationsExtensions Class

System.Spatial Namespace