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


IGeodataXform2.GetZ Method (ArcObjects .NET 10.5 SDK)
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