Table of Contents

Enum AreaUnit

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

Units describing various ways you can measure areas.

public enum AreaUnit

Fields

Acres = 0

Acres

Hectares = 2

Hectares

SquareFeet = 3

Square Feet

SquareKilometers = 4

Square Kilometers

SquareMeters = 1

Square Meters

SquareMiles = 5

Square Miles

SquareUsSurveyFeet = 6

Square US Survey Feet

SquareYards = 7

Square Yards

Remarks

Area units are most commonly used when calling APIs that measure areas. Regardless of the unit of measure your shapes are in, many of our APIs allow you to specify what unit of measure you want the result of the method call to be in. For example, you may have a PolygonShape whose points are in decimal degrees; however, you want to know the area in square miles. This is easy to accomplish. Simply call the GetArea method on the PolygonShape, passing in the first parameter of decimal degrees (which defines what unit the shape is in), and then square miles as the area unit you would like the result to be in.