This document is archived and information here might be outdated.  Recommended version.


IArea3D.Area3D Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IArea3D.Area3D Property

The 3D surface area.

[Visual Basic .NET]
Public ReadOnly Property Area3D As Double
[C#]
public double Area3D {get;}
[C++]
HRESULT get_Area3D(
  System.Double* Area
);
[C++]

Parameters Area [out, retval]
Area is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

If Patches comprising a MultiPatch geometry have improperly ordered vertices such that positive faces are not pointing outwards, a negative 3D surface area will be returned. To ensure proper orientation, add vertices in a clockwise manner relative to an observer situated outside of the MultiPatch geometry.

[C#]

        public static void CalculateArea3D()

        {

               IGeometry multiPatchGeometry=GetMultiPatchGeometry();

               IArea3D area3D = multiPatchGeometry as IArea3D;

               double calculatedArea3D=area3D.Area3D;

               //calculatedArea3D = 480
        }

See Also

IArea3D Interface