ASP.NET Pack Programmer's Guide
Map.LoadFromFile Method (String, Boolean)
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
)

Visual Basic  Copy Code

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

 Parameters

fileName

The file name of the map file.

loadDatabase

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

 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