MapWinGIS:ESRIGridManager CanUseESRIGrids
From MapWindow GIS
CanUseESRIGrids
Gets whether or not MapWinGIS can open ESRI grids.
Note: Since ESRI grids are proprietary, MapWinGIS can only open them if another ESRI product has already been installed which provides the files needed to manipulate ESRI grids.
VB.NET Usage
Function CanUseESRIGrids() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether or not MapWinGIS can open ESRI grids. |
Sample Code
Private Sub CanUseESRIGrids()
Dim ESRIgridmanager As New MapWinGIS.ESRIGridManager()
'Check if MapWinGIS can open ESRI grids
If ESRIgridmanager.CanUseESRIGrids Then
'If ESRI grids can be opened, tell the user in a message box
MsgBox("MapWinGIS can open ESRI grids on your system.")
End If
End Sub
VB 6 Usage
Function CanUseESRIGrids() As Boolean
Parameters
|
ReturnValue | A boolean value representing whether or not MapWinGIS can open ESRI grids. |
Sample Code
Private Sub CanUseESRIGrids()
Dim ESRIgridmanager As New MapWinGIS.ESRIgridmanager
'Check if MapWinGIS can open ESRI grids
If ESRIgridmanager.CanUseESRIGrids Then
'If ESRI grids can be opened, tell the user in a message box
MsgBox ("MapWinGIS can open ESRI grids on your system.")
End If
End Sub
















