This document is archived and information here might be outdated. Recommended version. |
Calculates an interior point for each polygon.
[Visual Basic .NET] Public Function GetLabelPoints ( _ ByVal pSR As ISpatialReference, _ ByVal pInPolygons As IPolygonArray _ ) As IPointArray
[C#] public IPointArray GetLabelPoints ( ISpatialReference pSR, IPolygonArray pInPolygons );
[C++]
HRESULT GetLabelPoints(
ISpatialReference* pSR,
IPolygonArray* pInPolygons
);
[C++]
Parameters pSR
pSR is a parameter of type ISpatialReference* pInPolygons
pInPolygons is a parameter of type IPolygonArray*
Generates one point geometry per input polygon. Each point is guaranteed to be inside its corresponding polygon. The ArcObjects IArea::LabelPoint property is used to generate the output points. All input geometries are assumed to be defined in the input spatial reference pSR. pSR cannot be nil.