Sets or returns the units for the map.


Namespace: ActualMap.Windows
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Property MapUnit As MeasureUnit
C#
public MeasureUnit MapUnit { get; set; }
C++
public property MeasureUnit MapUnit sealed  {
    MeasureUnit get();
    void set(MeasureUnit value);
}
J#
/** property */
public MeasureUnit get_MapUnit();

/** property */
public void set_MapUnit(MeasureUnit value);
JScript
public function get MapUnit() : MeasureUnit

public function set MapUnit(value : MeasureUnit);

Remarks

The MapUnit property must be set to the map unit which was used to create your map layers before the MapScale property returns meaningful values. If the CoordinateSystem property is set, the MapUnit property will be set automatically.

The MapUnit property is set to Degree by default.

See Also