MapWinGIS:Extents GetBounds
From MapWindow GIS
GetBounds
Gets the bounds of the extents object.
VB.NET Usage
Sub GetBounds(ByRef xMin As Double, ByRef yMin As Double, ByRef zMin As Double, ByRef xMax As Double, ByRef yMax As Double, ByRef zMax As Double)
Parameters
|
xMin | Reference parameter. Returns the minimum x value for the extents object. |
| yMin | Reference parameter. Returns the minimum y value for the extents object. |
| zMin | Reference parameter. Returns the minimum z value for the extents object. |
| xMin | Reference parameter. Returns the maximum x value for the extents object. |
| yMin | Reference parameter. Returns the maximum y value for the extents object. |
| zMin | Reference parameter. Returns the maximum z value for the extents object. |
Sample Code
Private Sub ExtentsGetBounds()
Dim extents As New MapWinGIS.Extents()
Dim xMin As Double, yMin As Double, zMin As Double, xMax As Double, yMax As Double, zMax As Double
'Get the bounds of the extents object
extents.GetBounds(xMin, yMin, zMin, xMax, yMax, zMax)
End Sub
VB 6 Usage
Sub GetBounds(ByRef xMin As Double, ByRef yMin As Double, ByRef zMin As Double, ByRef xMax As Double, ByRef yMax As Double, ByRef zMax As Double)
Parameters
|
xMin | Reference parameter. Returns the minimum x value for the extents object. |
| yMin | Reference parameter. Returns the minimum y value for the extents object. |
| zMin | Reference parameter. Returns the minimum z value for the extents object. |
| xMin | Reference parameter. Returns the maximum x value for the extents object. |
| yMin | Reference parameter. Returns the maximum y value for the extents object. |
| zMin | Reference parameter. Returns the maximum z value for the extents object. |
Sample Code
Private Sub ExtentsGetBounds()
Dim extents As New MapWinGIS.extents
Dim xMin As Double, yMin As Double, zMin As Double, xMax As Double, yMax As Double, zMax As Double
'Get the bounds of the extents object
extents.GetBounds xMin, yMin, zMin, xMax, yMax, zMax
End Sub
















