ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / MoveReportSectionElement Method
The report section element.
The new index location.
Version

    MoveReportSectionElement Method
    Moves the report section element to new index location. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void MoveReportSectionElement( 
       ReportSectionElement reportSectionElement,
       int newIndex
    )

    Parameters

    reportSectionElement
    The report section element.
    newIndex
    The new index location.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The section must be a report section or supplemental page section.
    The newIndex parameter is out of range.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also