GetPerimeter()

Summary

Gets the perimeter of an area.

Syntax

perimeter = GetPerimeter(integer area_id)

Argument Contents
area_id The ID for an area

Returns

A real number with the length of the perimeter in current map units.

Notes

  • The current layer must be an area layer.

Example

perimeter = GetPerimeter(19023)

See Also

Function Summary
GetEdges() Gets the edges for an area
GetPolygonPerimeter() Gets the perimeter of a closed polygon