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


ISurface.GetSurfaceArea Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.GetSurfaceArea Method
ArcGIS Developer Help

ISurface.GetSurfaceArea Method

Returns the area measured on its surface above or below an input z value.

[Visual Basic .NET]
Public Function GetSurfaceArea ( _
    ByVal referenceHeight As Double, _
    ByVal Type As esriPlaneReferenceType _
) As Double
[C#]
public double GetSurfaceArea (
    double referenceHeight,
    esriPlaneReferenceType Type
);
[C++]
HRESULT GetSurfaceArea(
  double referenceHeight,
  esriPlaneReferenceType Type
);
[C++]
Parameters
referenceHeight [in]

referenceHeight is a parameter of type double Type [in]
Type is a parameter of type esriPlaneReferenceType

Product Availability

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

Description

Returns the 3D area of the surface relative to a specified reference plane. The area is measured along the slope of a surface, taking height into consideration. The surface area will always be greater than the 2D planimetric extent of the model (unless the surface is flat).

The plane used in the calculation is horizontal and is therefore defined simply by height. You indicate the height and whether the area is to be calculated above or below it.

See Also

ISurface Interface