ArcObjects Library Reference (GeoDatabase)  

ISurface.ZFactor Property

Multiplication factor applied to all z values to provide unit-congruency between coordinate components.

[Visual Basic .NET]
Public Property ZFactor As Double
[C#]
public double ZFactor {get; set;}
[C++]
HRESULT get_ZFactor(
  double* pFactor
);
[C++]
HRESULT put_ZFactor(
  double pFactor
);
[C++]

Parameters

pFactor [out, retval]   pFactor is a parameter of type double pFactor [in]   pFactor is a parameter of type double

Product Availability

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

Description

All surface Z values are multiplied by the ZFactor before surface calculations are made. Factoring is necessary for some operations, like slope and line-of-sight, to produce correct results if the Z values are not in the same unit of measure as XY.

Example: if XY units are in meters and Z units are in feet specify a factor of 0.3048 to convert the Z's from feet to meters. If XY units are in feet and Z units are in meters specify a factor of 3.281 to convert the Z's from meters to feet.

See Also

ISurface Interface