ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElementContainer Interface / InsertElement Method
The element.
(Optinal). The index to insert the element at.
Version

InsertElement Method
Inserts a new element at the specified position.
Syntax
void InsertElement( 
   IElement element,
   int index
)

Parameters

element
The element.
index
(Optinal). The index to insert the element at.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also