ArcPad Scripting Object Model
Polygon Object
See Also  Members  Send comments on this topic.

Glossary Item Box

Description

Polygon

 

A Polygon object represents a geometric shape that has three or more vertices and forms a closed ring. A Polygon may consist of one or more discontinuous Parts. A Polygon with two or more Parts is a known as a multi-part Polygon.

Remarks

A Polygon object is a creatable object in ArcPad. Here's an example of creating a new Polygon object:

Dim pPolygon
Set pPolygon = Application.CreateAppObject("polygon")
When creating Polygon objects, the order of the vertices in each part is important. Parts are defined to have vertices going clockwise for filled areas and counterclockwise for holes. Any part with vertices going counterclockwise will return a negative value. Vertices for a single part polygon must always be in clockwise order.

See Also

© 2013 All Rights Reserved.