MapWinGIS:ESRIGridManager IsESRIGrid

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

IsESRIGrid

Gets whether or not the specified file is an ESRI grid.


VB.NET Usage

Function IsESRIGrid(Filename As String) As Boolean

            Parameters

Filename

The filename of the grid to be checked.
ReturnValue A boolean value representing whether or not the specified file is an ESRI grid.

Sample Code

    Private Sub IsESRIGrid()
        Dim ESRIgridmanager As New MapWinGIS.ESRIGridManager()
        Dim filename As String
        'Set the file to be checked
        filename = "C:\test.grd"
        'Check if the specified file is an ESRI grid
        If ESRIgridmanager.IsESRIGrid(filename) Then
            'If the specified file is an ESRI grid, display a message to the user
            MsgBox("The file " + filename + " is an ESRI grid.")
        End If
    End Sub
 

VB 6 Usage
Function IsESRIGrid(Filename As String) As Boolean
            Parameters

Filename

The filename of the grid to be checked.
ReturnValue A boolean value representing whether or not the specified file is an ESRI grid.

Sample Code

    Private Sub IsESRIGrid()
        Dim ESRIgridmanager As New MapWinGIS.ESRIgridmanager
        Dim filename As String
        'Set the file to be checked
        filename = "C:\test.grd"
        'Check if the specified file is an ESRI grid
        If ESRIgridmanager.IsESRIGrid(filename) Then
            'If the specified file is an ESRI grid, display a message to the user
            MsgBox ("The file " + filename + " is an ESRI grid.")
        End If
    End Sub

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

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