MapWinGIS:Grid InRam

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

InRam

Returns whether the grid is loaded in to RAM memory or not.


VB.NET Usage

ReadOnly Property InRam() As Boolean

            Parameters

ReturnValue

A boolean value representing whether the grid is loaded into RAM or not.

Sample Code

    Private Sub InRam()
        Dim grid As New MapWinGIS.Grid()
        'Open a grid from disk
        grid.Open("C:\grid.asc")
        'Check if the grid is loaded into RAM
        If grid.InRam Then
            MsgBox("The grid is loaded into RAM.")
        Else
            MsgBox("The grid is not loaded into RAM.")
        End If
        'Close the grid
        grid.Close()
    End Sub
  

VB 6 Usage
ReadOnly Property InRam() As Boolean
            Parameters

ReturnValue

A boolean value representing whether the grid is loaded into RAM or not.

Sample Code

    Private Sub InRam()
        Dim grid As New MapWinGIS.grid
        'Open a grid from disk
        grid.Open ("C:\grid.asc")
        'Check if the grid is loaded into RAM
        If grid.InRam Then
            MsgBox ("The grid is loaded into RAM.")
        Else
            MsgBox ("The grid is not loaded into RAM.")
        End If
        'Close the grid
        grid.Close
    End Sub

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

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