This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IN > INotifyZFinalize Interface > INotifyZFinalize.Failed Method (ArcObjects .NET 10.5 SDK) |
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
[C#] public bool Failed ( IGeometry Geometry );
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.