ASP.NET Pack Programmer's Guide
MapContent.FromFile Method (String, Boolean, String)
See Also
 





Creates a MapContent object from the specified map file.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static MapContent FromFile (
    string fileName,
    bool loadDatabase,
    string labelField
)

Visual Basic  Copy Code

Public Shared Function FromFile( _
    fileName As String, _
    loadDatabase As Boolean, _
    labelField As String _
) As MapContent

 Parameters

fileName

A string containing the path to an Esri shapefile.

loadDatabase

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

labelField

Name of the database column containing region labels.

 Return Value

A MapContent instance.

 See Also

FromFile Method Overload List
MapContent Members
MapContent Class
MindFusion.Diagramming Namespace