MapWinGIS:Grid Maximum

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

Maximum

Returns the maximum value stored in the grid.


VB.NET Usage

ReadOnly Property Maximum() As Object

            Parameters

ReturnValue

The maximum value stored in the grid.

Sample Code

    Private Sub Maximum()
        Dim grid As New MapWinGIS.Grid()
        'Open a grid from disk
        grid.Open("C:\grid.asc")
        'Display the maximum value stored in the grid
        MsgBox(Str(grid.Maximum))
        'Close the grid
        grid.Close()
    End Sub
  

VB 6 Usage
ReadOnly Property Maximum() As Object
            Parameters

ReturnValue

The maximum value stored in the grid.

Sample Code

    Private Sub Maximum()
        Dim grid As New MapWinGIS.grid
        'Open a grid from disk
        grid.Open ("C:\grid.asc")
        'Display the maximum value stored in the grid
        MsgBox (Str(grid.Maximum))
        'Close the grid
        grid.Close
    End Sub

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

This page has been accessed 1,419 times. This page was last modified on 9 November 2005, at 16:26.