SetBounds
Sets the bounds for the extents object.
VB.NET Usage
Sub SetBounds(xMin As Double, yMin As Double, zMin As Double, xMax
As Double, yMax As Double, zMax As Double)
Parameters
xMin |
The new minimum x value for the bounds of the extents object. |
yMin | The new minimum y value for the bounds of the extents object. |
zMin | The new minimum z value for the bounds of the extents object. |
xMax | The new maximum x value for the bounds of the extents object. |
yMax | The new maximum y value for the bounds of the extents object. |
zMax | The new maximum z value for the bounds of the extents object. |
Sample Code
Private Sub ExtentsSetBounds() 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 'Set the minimum and maximum values for the x, y, and z bounds values xMin = 100 yMin = 100 zMin = 0 xMax = 500 yMax = 500 zMax = 0 'Set the bounds of the extents object extents.SetBounds(xMin, yMin, zMin, xMax, yMax, zMax) End Sub
VB 6 Usage
Sub SetBounds(xMin As Double, yMin As
Double, zMin As Double, xMax As Double, yMax As Double, zMax As
Double)
Parameters
xMin |
The new minimum x value for the bounds of the extents object. |
yMin | The new minimum y value for the bounds of the extents object. |
zMin | The new minimum z value for the bounds of the extents object. |
xMax | The new maximum x value for the bounds of the extents object. |
yMax | The new maximum y value for the bounds of the extents object. |
zMax | The new maximum z value for the bounds of the extents object. |
Sample Code
Private Sub ExtentsSetBounds() 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 'Set the minimum and maximum values for the x, y, and z bounds values xMin = 100 yMin = 100 zMin = 0 xMax = 500 yMax = 500 zMax = 0 'Set the bounds of the extents object extents.SetBounds xMin, yMin, zMin, xMax, yMax, zMax End Sub