MapWinGIS:Image IsInRam

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

IsInRam

Returns true when the image is loaded in RAM memory, and returns false when the image is not loaded in RAM memory.


VB.NET Usage

ReadOnly Property IsInRam() As Boolean

            Parameters

ReturnValue

A boolean value representing whether the image is stored in RAM memory or not.

Sample Code

    Private Sub ImageIsInRam()
        Dim image As New MapWinGIS.Image()
        Dim inRam As Boolean
        'Get the status of IsInRam
        inRam = image.IsInRam
        'If the image is in RAM, display a message to the user
        If inRam Then
            MsgBox("The image is stored in RAM memory.")
        End If
    End Sub
  

VB 6 Usage
ReadOnly Property IsInRam() As Boolean
            Parameters

ReturnValue

A boolean value representing whether the image is stored in RAM memory or not.

Sample Code

    Private Sub ImageIsInRam()
        Dim image As New MapWinGIS.image
        Dim inRam As Boolean
        'Get the status of IsInRam
        inRam = image.IsInRam
        'If the image is in RAM, display a message to the user
        If inRam Then
            MsgBox ("The image is stored in RAM memory.")
        End If
    End Sub

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

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