Calculates an interior point for each polygon.
[Visual Basic 6.0] Function GetLabelPoints(
ByVal pSR As ISpatialReference, _
ByVal pInPolygons As IPolygonArray _
) As IPointArray
[Visual Basic .NET] Public Function GetLabelPoints ( _ ByVal pSR As ISpatialReference, _ ByVal pInPolygons As IPolygonArray _ ) As IPointArray
[C#] public IPointArray GetLabelPoints ( ISpatialReference pSR, IPolygonArray pInPolygons );
[Java] public IPointArray getLabelPoints ( ISpatialReference pSR, IPolygonArray pInPolygons ) throws IOException, AutomationException
[C++] HRESULT GetLabelPoints( ISpatialReference* pSR, IPolygonArray* pInPolygons, IPointArray** pOutLabels );
Parameters
pSR
pSR is a parameter of type ISpatialReference
pInPolygons
pInPolygons is a parameter of type IPolygonArray
pOutLabels [out, retval]
pOutLabels is a parameter of type IPointArray
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.