Interface IArea
Provides access to members that return properties common to rings and polygons.
[Guid("6039E192-4CC8-11D1-834E-0000F8775BE9")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IArea
Properties
Area
The area.
double Area { get; }
Property Value
Remarks

Centroid
The center of gravity (centroid).
IPoint Centroid { get; }
Property Value
Remarks
The Centroid does not always occur inside the Area of the geometry. The Centroid is not the same as the center of the geometry or the Envelope binding the geometry (but it may be if and only if that is also the center of the weighted area).

LabelPoint
A point guaranteed to be inside this area.
IPoint LabelPoint { get; }
Property Value
Methods
QueryCentroid(IPoint)
Copies the centroid of this area to the specified point.
void QueryCentroid(IPoint Center)
Parameters
CenterIPoint
Remarks
The Centroid does not always occur inside the Area of the geometry. The Centroid is not the same as the center of the geometry or the Envelope binding the geometry (but it may be if and only if that is also the center of the weighted area).
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

QueryLabelPoint(IPoint)
Copies to the input point a point guaranteed to be inside this area.
void QueryLabelPoint(IPoint LabelPoint)
Parameters
LabelPointIPoint
Remarks
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.