ArcGIS Pro 2.7 API Reference Guide
NorthArrow Class
Members  Example 

ArcGIS.Desktop.Layouts Namespace : NorthArrow Class
Represents a north arrow element on a page layout.
Object Model
NorthArrow ClassElement ClassCoordinate2D StructureEnvelope ClassCIMElement ClassIElementParent InterfaceMapFrame Class
Syntax
Remarks
There are currently no additional members but this class can be used to determine the type of MapSurround and element may be.
Example
//Create a north arrow for a specific map frame and assign a north arrow style item.

//Construct on the worker thread
await QueuedTask.Run(() =>
{
  //Reference a North Arrow in a style
  StyleProjectItem stylePrjItm = Project.Current.GetItems<StyleProjectItem>().FirstOrDefault(item => item.Name == "ArcGIS 2D");
  NorthArrowStyleItem naStyleItm = stylePrjItm.SearchNorthArrows("ArcGIS North 10")[0];

  //Build geometry
  Coordinate2D center = new Coordinate2D(7, 5.5);

  //Reference MF, create north arrow and add to layout 
  MapFrame mf = layout.FindElement("New Map Frame") as MapFrame;
  if (mf == null)
  {
    ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("Map frame not found", "WARNING");
    return;
  }
  NorthArrow arrowElm = LayoutElementFactory.Instance.CreateNorthArrow(layout, center, mf, naStyleItm);
  arrowElm.SetName("New North Arrow");
  arrowElm.SetHeight(1.75);
  arrowElm.SetX(7);
  arrowElm.SetY(6);
});
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Layouts.Element
         ArcGIS.Desktop.Layouts.MapSurround
            ArcGIS.Desktop.Layouts.NorthArrow

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NorthArrow Members
ArcGIS.Desktop.Layouts Namespace