Geometry Service GetLabelPoints method

Calculates points for label placement inside each input polygon.

 

GetLabelPoints(SpatialReference SpatialReference, Polygon[] InPolygonArray)

 

Parameter

Description

SpatialReference

The spatial reference of the geometries in InPolygonArray. This cannot be null.

InPolygonArray

The array of Polygons on which to determine an optimum, interior label point. All geometries are assumed to be in the coordinate system defined by SpatialReference.

 

Return Value

 

An array of Points (Point[]). You can cast each point to PointN.
 

Remarks

 
This method generates one point geometry per input polygon. Each point is guaranteed to be inside its corresponding polygon.

 

Examples

C#

VB.NET

Java