MapWinGIS:Grid Maximum
From MapWindow GIS
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
















