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


IEngineEditSketch.CurrentZ Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditSketch.CurrentZ Property

Current Z value for the edit sketch.

[Visual Basic .NET]
Public Property CurrentZ As Double
[C#]
public double CurrentZ {get; set;}
[C++]
HRESULT get_CurrentZ(
  double* z
);
[C++]
HRESULT put_CurrentZ(
  double z
);
[C++]

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

Product Availability

Available with ArcGIS Engine.

Description

The CurrentZ property returns or sets the Z value that is applied to all new vertices added to the sketch. This is not applied to moved or changed vertices.
Use the CurrentZ property when estimating height in fixed bands. For example, if you are capturing data at 0, 2 or 4 metres above ground or sea level. 
 

Remarks

To view the z values for the edit sketch display the edit sketch properties dialog using the ControlsEditingSketchPropertiesCommand and select the sketch. If the sketch is ZAware, an additional column will appear next to the y column showing the z values.

See Also

IEngineEditSketch Interface