ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / IPresentationElementFactory Interface / CreateGroupElement Method
The parent element container. It can be a presentation page or a group element that is associated with a presentation page.
The collection of elements to be grouped (optional)
An element name (optional)
Select after create flag (default is true) (optional)
Additional element properties (optional)

In This Topic
    CreateGroupElement Method (IPresentationElementFactory)
    In This Topic
    Creates a group element from the input element 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.
    elements
    The collection of elements to be grouped (optional)
    elementName
    An element name (optional)
    select
    Select after create flag (default is true) (optional)
    groupElementInfo
    Additional element properties (optional)

    Return Value

    Remarks
    Only elements contained within the provided elementContainer will be added to the group element. If elements is null or an empty collection then an empty GroupElement will be created.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also