MapWinGIS:Extents GetBounds

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Extents_GetBounds"

This page has been accessed 2,941 times. This page was last modified on 9 November 2005, at 16:19.