ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / DeleteElement Method
The element to be deleted.

In This Topic
    DeleteElement Method (Report)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also