ArcGIS Pro 2.9 API Reference Guide
UpdateSlice Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : UpdateSlice Method
The definition of the slice to be updated
Updates the slice identified by the input ArcGIS.Desktop.Mapping.Voxel.SliceDefinition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void UpdateSlice( 
   SliceDefinition sliceDef
)
Public Sub UpdateSlice( _
   ByVal sliceDef As SliceDefinition _
) 

Parameters

sliceDef
The definition of the slice to be updated
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Invalid slice definition specified
Slice not found in the collection of slices
Slice definition is null
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members