MindFusion.Wpf Pack Programmer's Guide
Map.LoadFromFile Method (String, Boolean, String)
See Also
 





Loads the map data from the specified ESRI map file.

Namespace: MindFusion.Mapping
Assembly: MindFusion.Mapping

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

fileName

The file name of the map file.

loadDatabase

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

labelField

A string specifying the name 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