ArcGIS Pro 2.7 API Reference Guide
SetCaptureModeAsync Method

ArcGIS.Desktop.Editing Namespace > ElevationCapturing Class : SetCaptureModeAsync Method
Sets the mode for capturing elevation.
Syntax
public static Task SetCaptureModeAsync( 
   ElevationCaptureMode mode
)
Public Shared Function SetCaptureModeAsync( _
   ByVal mode As ElevationCaptureMode _
) As Task

Parameters

mode
Remarks
The mode cannot be set to ElevationCaptureMode.Surface if there are currently no usable surfaces. An attempt to do so will be ignored - calling code should check the CaptureMode afterward, to determine if a change was actually made, or check the value of HasSurfaces prior.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ElevationCapturing Class
ElevationCapturing Members
CaptureMode Property