ArcGIS Pro 2.7 API Reference Guide
LabelPoint Method (IGeometryEngine)
Example 

ArcGIS.Core.Geometry Namespace > IGeometryEngine Interface : LabelPoint Method
The polygon or envelope to label.
Performs the LabelPoint operation on the geometry.
Syntax
MapPoint LabelPoint( 
   Geometry geometry
)
Function LabelPoint( _
   ByVal geometry As Geometry _
) As MapPoint

Parameters

geometry
The polygon or envelope to label.

Return Value

Returns the label point for the geometry.
Exceptions
ExceptionDescription
Geometry is null or empty.
The method is not implemented for GeometryBag.
Geometry is not a polygon or an envelope.
Example
// create a polygon
List<Coordinate2D> list2D = new List<Coordinate2D>();
list2D.Add(new Coordinate2D(1.0, 1.0));
list2D.Add(new Coordinate2D(1.0, 2.0));
list2D.Add(new Coordinate2D(2.0, 2.0));
list2D.Add(new Coordinate2D(2.0, 1.0));

Polygon polygon = PolygonBuilder.CreatePolygon(list2D);
bool isSimple = GeometryEngine.Instance.IsSimpleAsFeature(polygon);
MapPoint pt = GeometryEngine.Instance.LabelPoint(polygon);
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

IGeometryEngine Interface
IGeometryEngine Members