Shape object

Shape object schema

The Shape object represents a single drawing object on the map: line, freeform, text box, radius, oval, or rectangle. You can use the QueryCircle, QueryPolygon, and QueryShape methods on a DataSet object to return a set of records within the area of a shape. This object is invalidated after the map is closed.

The name of this object, "Shape," conflicts with the Visual Basic Shape object. It is good practice to always declare a variable with a full type, such as "MapPoint.Shape" instead of just "Shape" to avoid ambiguity, but in this case it is necessary.

Methods

Copy

Cut

Delete

Select

ZOrder

Properties

Adjustments

Application

AutoShapeType

Avoided

Fill

FontColor

Height

Line

Location

Name

Parent

SizeVisible

Text

Type

Vertices

Width

ZOrderPosition