ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElement Interface / GetAnchorPoint Method

In This Topic
    GetAnchorPoint Method (IElement)
    In This Topic
    Get the element anchor point location. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Coordinate2D GetAnchorPoint()
    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