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

IMensuration.GetHeightFromBaseAndTop Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.GetHeightFromBaseAndTop Method
ArcGIS Developer Help

IMensuration.GetHeightFromBaseAndTop Method

Estimates the height of an object given the base and the top map points of the object.

[Visual Basic .NET]
Public Sub GetHeightFromBaseAndTop ( _
    ByVal pBaseOfObject As IPoint, _
    ByVal pTopOfObject As IPoint, _
    ByRef ppHtMeasurement As IHeightMeasurement _
public void GetHeightFromBaseAndTop (
    IPoint pBaseOfObject,
    IPoint pTopOfObject,
    ref IHeightMeasurement ppHtMeasurement
HRESULT GetHeightFromBaseAndTop(
  IPoint* pBaseOfObject,
  IPoint* pTopOfObject,
  IHeightMeasurement** ppHtMeasurement
pBaseOfObject [in]

pBaseOfObject is a parameter of type IPoint* pTopOfObject [in]
pTopOfObject is a parameter of type IPoint* ppHtMeasurement [out]
ppHtMeasurement is a parameter of type IHeightMeasurement**

Product Availability

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

See Also

IMensuration Interface