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


IEditorZ.FinalizeZs Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IEditorZ.FinalizeZs Method

Resolves NaN Zs to definite values.

[Visual Basic .NET]
Public Sub FinalizeZs ( _
    ByVal Geometry As IGeometry _
)
[C#]
public void FinalizeZs (
    IGeometry Geometry
);

Product Availability

Available with ArcGIS Desktop.

Remarks

This method ensures a particular geometry has a valid set of z values defined. This method attempts to interpolate the z-value of any non-simple points in the geometry; if result is non-simple then the Failed method of the class implementing INotifyZFinalize and hooked into IEditorZ::NotifyZFinalize is given an opportunity to manipulate the Z values. If the client handles this, the method checks for simplicity and defines the offending z-values as necessary to successfully store the feature (using IEditSketch2::CurrentZ).

See Also

IEditorZ Interface