MapWinGIS:Image IsInRam
From MapWindow GIS
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
















