ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationElementFactory Class / CreateElement Method
The parent element container. It can be a presentation page or a group element that is associated with a presentation page.
The cimElement to be created
Select after create flag (default is true) (optional)

In This Topic
    CreateElement Method (PresentationElementFactory)
    In This Topic
    Creates an element using the corresponding ArcGIS.Core.CIM.CIMElement definition.
    Syntax
    Public Function CreateElement( _
       ByVal elementContainer As IElementContainer, _
       ByVal cimElement As CIMElement, _
       Optional ByVal select As Boolean _
    ) As Element

    Parameters

    elementContainer
    The parent element container. It can be a presentation page or a group element that is associated with a presentation page.
    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.5 or higher.
    See Also