ASP.NET Pack Programmer's Guide
Map.LoadFromFile Method (String, Boolean, Int32)
See Also
 





Loads the map data from the specified ESRI map file.

Namespace: MindFusion.Mapping
Package: MindFusion.Mapping

 Syntax

C#  Copy Code

public void LoadFromFile (
    string fileName,
    bool loadDatabase,
    int labelField
)

Visual Basic  Copy Code

Public Sub LoadFromFile( _
    fileName As String, _
    loadDatabase As Boolean, _
    labelField As Integer _
)

 Parameters

fileName

The file name of the map file.

loadDatabase

true to load the database associated with the specified map file, otherwise false.

labelField

An integer specifying the index of the database column whose fields should be used as map element labels.

 Remarks

If the database is loaded, it is represented by an instance of the Database class exposed via the Database property. Additionally, each Shape in the map has its DatabaseRow property set to an object representing the corresponding data record.

 See Also

LoadFromFile Method Overload List
Map Members
Map Class
MindFusion.Mapping Namespace