![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IG > IGeodataXform2 Interface > IGeodataXform2.GetZ Method (ArcObjects .NET 10.4 SDK) | 
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