ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Element Class / GetAnchorPoint Method

In This Topic
    GetAnchorPoint Method (Element)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also