Maptitude GISDK Help

SetAreaUnits()

Summary

Sets the current area measurement units.

 

Changes

Added to Version 2018.

 

Syntax

SetMapUnits(string area_units)

 

Argument Contents
area_units Name of the area units

 

Notes

Example

SetAreaUnits("Square Miles")

current_units = GetAreaUnits() // returns "Square Miles"

 

Error Codes

Error Type Meaning
Error area_units was incorrectly specified

 

See Also

Function Summary
GetAreaUnitNames() Gets a list of the available area measurement units
GetAreaUnits() Gets the current area measurement units
GetMapUnitNames() Gets a list of the available map measurement units
GetMapUnits() Gets the current map measurement units
GetPaperUnitNames() Gets a list of the available paper measurement units
GetPaperUnits() Gets the current paper measurement unit
SetDisplayUnits() Set the display names for units, to be used in drop-down lists and legends
SetMapUnits() Sets the current map measurement units
SetPaperUnits() Sets the current paper measurement unit

 

 

©2025 Caliper Corporation www.caliper.com