ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / NorthArrowStyleItem Class / NorthArrow Property
Example Version

    NorthArrow Property
    Gets or sets the ArcGIS.Core.CIM.CIMNorthArrow of the north arrow style item.
    Syntax
    public CIMNorthArrow NorthArrow {get; set;}
    Exceptions
    ExceptionDescription
    This property must be called within the lambda passed to QueuedTask.Run
    Example
    Get north arrow from NorthArrowStyleItem
    NorthArrowStyleItem northArrowItem = null;
    CIMNorthArrow northArrow = await QueuedTask.Run<CIMNorthArrow>(() =>
    {
      return northArrowItem.NorthArrow;
    });
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also