ArcObjects Library Reference (DataSourcesRaster)  

IGeodataXform2.GetZ Method

Gets Z value for a given location (x,y) in map space.

[Visual Basic .NET]
Public Function GetZ ( _
    ByVal x As Double, _
    ByVal y As Double _
) As Double
[C#]
public double GetZ (
    double x,
    double y
);
[C++]
HRESULT GetZ(
  double x,
  double y,
  double* z
);
[C++]

Parameters

x [in]   x is a parameter of type double y [in]   y is a parameter of type double z [out, retval]   z is a parameter of type double

Product Availability

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

See Also

IGeodataXform2 Interface