ArcGIS Pro 2.8 API Reference Guide
MoveReportSectionElement Method

ArcGIS.Desktop.Reports Namespace > Report Class : MoveReportSectionElement Method
The report section element.
The new index location.
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.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Report Class
Report Members