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

In This Topic
    NorthArrow Property
    In This Topic
    Gets or sets the ArcGIS.Core.CIM.CIMNorthArrow of the north arrow style item.
    Syntax
    public CIMNorthArrow NorthArrow {get; set;}
    Public Property NorthArrow As CIMNorthArrow
    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;
    });
    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 or higher.
    See Also