ArcGIS Pro 2.7 API Reference Guide
GetAnchorPoint Method

ArcGIS.Desktop.Layouts Namespace > Element Class : GetAnchorPoint Method
Get the element anchor point location. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Coordinate2D GetAnchorPoint()
Public Function GetAnchorPoint() As Coordinate2D

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run.
Remarks
Refer to ArcGIS.Core.CIM.Anchor to determine the relative anchor position which can be one of 9 possible positions
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Element Class
Element Members