ArcGIS Pro 2.8 API Reference Guide
DeleteElement Method (Report)

ArcGIS.Desktop.Reports Namespace > Report Class : DeleteElement Method
The element to be deleted.
Deletes the specified element from the report. Note that section elements cannot be deleted and will be ignored if specified. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void DeleteElement( 
   Element element
)
Public Sub DeleteElement( _
   ByVal element As Element _
) 

Parameters

element
The element to be deleted.
Exceptions
ExceptionDescription
The value cannot be null: element
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Report Class
Report Members