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


ISurface.ZFactor Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.ZFactor Property
ArcGIS Developer Help

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(
  System.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