ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / IElementFactory Interface / CreateElement Method
Layout or GroupElement
The cimElement to be created
Select after create flag (default is true) (optional)

In This Topic
    CreateElement Method (IElementFactory)
    In This Topic
    Creates an element using the corresponding ArcGIS.Core.CIM.CIMElement definition.
    Syntax

    Parameters

    elementContainer
    Layout or GroupElement
    cimElement
    The cimElement to be created
    select
    Select after create flag (default is true) (optional)

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also