public void SetTOCPositionRelative( Element referenceElement, bool isAbove )
Public Sub SetTOCPositionRelative( _ ByVal referenceElement As Element, _ ByVal isAbove As Boolean _ )
public void SetTOCPositionRelative( Element referenceElement, bool isAbove )
Public Sub SetTOCPositionRelative( _ ByVal referenceElement As Element, _ ByVal isAbove As Boolean _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
true
, the element is placed above the reference element. The reference element can either be at the root level of the layout TOC or an element in a group element. Elements can be easily moved into or out of groups.//Move a layout element above an existing layout element. //Perform on the worker thread await QueuedTask.Run(() => { element.SetTOCPositionRelative(element, true); });
Target Platforms: Windows 10, Windows 8.1