ArcGIS Pro 2.7 API Reference Guide
DeleteSlice Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : DeleteSlice Method
The definition of the slice to delete.
Deletes the specified slice. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void DeleteSlice( 
   SliceDefinition sliceDef
)
Public Sub DeleteSlice( _
   ByVal sliceDef As SliceDefinition _
) 

Parameters

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members