ArcGIS Pro 3.7 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
    Function GetAnchorPoint() As Coordinate2D
    Coordinate2D GetAnchorPoint()

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also