ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationElementFactory Class / CreateGraphicElements Method
The parent element container. It can be a presentation page or a group element that is associated with a presentation page.
The input graphic collection
Element names (optional)
Select after create flag (default is true) (optional)
Additional element properties (optional)

In This Topic
    CreateGraphicElements Method (PresentationElementFactory)
    In This Topic
    Creates ArcGIS.Desktop.Layouts.GraphicElement based on the input ArcGIS.Core.CIM.CIMGraphic collection and element properties.
    Syntax

    Parameters

    elementContainer
    The parent element container. It can be a presentation page or a group element that is associated with a presentation page.
    cimGraphics
    The input graphic collection
    elementNames
    Element names (optional)
    select
    Select after create flag (default is true) (optional)
    elementInfos
    Additional element properties (optional)

    Return Value

    Remarks
    The number of Element names and ElementInfos must either match the input number of CIMGraphics or be null. Refer to ArcGIS.Desktop.Layouts.GraphicFactory for creating ArcGIS.Core.CIM.CIMGraphic
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also