Maptitude GISDK Help |
Sets the current area measurement units.
Added to Version 2018.
SetMapUnits(string area_units)
Argument |
Contents |
area_units |
Name of the area units |
Valid units include Square Miles, Square Kilometers, Square Yards, Square Meters, Square Feet, and other units whose names are obtained with GetAreaUnitNames().
SetAreaUnits("Square Miles") |
|
current_units = GetAreaUnits() |
// returns "Square Miles" |
Error Type |
Meaning |
Error |
area_units was incorrectly specified |
Function |
Summary |
Gets a list of the available area measurement units |
|
Gets the current area measurement units |
|
Gets a list of the available map measurement units |
|
Gets the current map measurement units |
|
Gets a list of the available paper measurement units |
|
Gets the current paper measurement unit |
|
Set the display names for units, to be used in drop-down lists and legends |
|
Sets the current map measurement units |
|
Sets the current paper measurement unit |
©2025 Caliper Corporation | www.caliper.com |