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

INotifyZFinalize.Failed Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IN > INotifyZFinalize Interface > INotifyZFinalize.Failed Method
ArcGIS Developer Help

INotifyZFinalize.Failed Method

Callback is called when Z Capture fails, allows client an opportunity to set a custom Z.

[Visual Basic .NET]
Public Function Failed ( _
    ByVal Geometry As IGeometry _
) As Boolean
public bool Failed (
    IGeometry Geometry

Product Availability

Available with ArcGIS Desktop.


When a point is added to the sketch, if the result is non-simple then the Failed method of the class implementing INotifyZFinalize and hooked into IEditProperties4::NotifyZFinalize is given an opportunity to manipulate the Z values.  If the client implementing this interface alters the geometry, they should return TRUE; if the value returned is FALSE then any changes made to the geometry in this method will be discarded. 

See Also

INotifyZFinalize Interface