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

In This Topic
    MoveReportSectionElement Method
    In This Topic
    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
    )
    Public Sub MoveReportSectionElement( _
       ByVal reportSectionElement As ReportSectionElement, _
       ByVal newIndex As Integer _
    ) 

    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