IMultiPolygon

A multipolygon is a collection of polygons.

 

 

Properties

 

Area

Gets the area of the geometry.

Centroid

An IPoint representing the geometric center of the geometry.

Count

Gets the number of geometries in the collection. (Inherited from IGeometryCollection

Dimension

Gets the dimension of the geometry object. (Inherited from IGeometry)

Envelope

Gets the geometry’s bounding box. (Inherited from IGeometry)

Geometry

Gets an IGeometry, representing a specific geometry in the collection.

GeometryType

Gets the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

Gets a string representation of the geometry type. (Inherited from IGeometry)

Item

Gets the data stored in the specified zero-based index. (Inherited from IGeometryCollection

NumGeometries

Gets the number of geometries in this collection. (Inherited from IGeometryCollection

PointOnSurface

Reserved. Currently not used.

SpatialOperator

An ISpatialOperator representing the selected geometry’s interaction with another geometry object. (Inherited from IGeometry)

SpatialRelation

An ISpatialRelation that tests the geometry’s spatial relationship with other geometries. (Inherited from IGeometry)

Wks

An IWks representing methods for transferring coordinate system information (WKT and WKB). (Inherited from IGeometry)

 

Methods

 

AddGeometry

Adds a geometry to the collection. (Inherited from IGeometryCollection)

Clone

Returns an exact copy of the multipolygon collection. (Inherited from IGeometry)

DeleteGeometry

Deletes the selected geometry from the collection. (Inherited from IGeometryCollection)

EndEdit

Terminates the edit item mode. (Inherited from IGeometry)

IsEmpty

Returns whether or not the set of geometries in the selected geometry collection is empty. (Inherited from IGeometry)

IsSimple

Returns whether or not the geometry collection is simple. (Inherited from IGeometry)

SetEmpty

Removes all geometries from this collection. (Inherited from IGeometry)

StartEdit

Starts the edit item mode. (Inherited from IGeometry)

 

Area

Gets the area of the geometry.

 

JavaScript

 

Area

 

C#

 

double Area { get; }

 

C++

 

HRESULT Area([out, retval] double* dArea)