This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditorZ Interface > IEditorZ.ApplyZ Method (ArcObjects .NET 10.4 SDK) |
Applies editor's Z-capture logic to point if it isn't already z-aware.
[Visual Basic .NET] Public Sub ApplyZ ( _ ByVal point As IPoint _ )
[C#] public void ApplyZ ( IPoint point );
This method checks to determine that incoming point is Z-aware; if it is not, this method will set it to be Z-aware and apply the current Z assignment behavior to the incoming point in the following order: ZCaptureType, ZOffset. If the z-assignment fails (usually because the z-capture type is surface, and the retrieval of the z-value fails) then the client can receive this message through INotifyZFinalize, and is given an opportunity to specify a valid z-value.
Note: If the incoming point is already z-aware then this method does not alter the incoming point.