public void MoveNode(LateBindingApi.Excel.DiagramNode pTargetNode, LateBindingApi.Office.Enums.MsoRelativeNodePosition pos)
 {
     object[] paramArray = new object[2];
     paramArray.SetValue(pTargetNode, 0);
     paramArray[1] = pos;
     Invoker.Method(this, "MoveNode", paramArray);
 }
        public LateBindingApi.Excel.DiagramNode AddNode(LateBindingApi.Office.Enums.MsoRelativeNodePosition pos, LateBindingApi.Office.Enums.MsoDiagramNodeType nodeType)
        {
            object[] paramArray = new object[2];
            paramArray[0] = pos;
            paramArray[1] = nodeType;
            object returnValue = Invoker.MethodReturn(this, "AddNode", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.DiagramNode newClass = new LateBindingApi.Excel.DiagramNode(this, returnValue);
            return(newClass);
        }
        public LateBindingApi.Excel.DiagramNode CloneNode(bool copyChildren, LateBindingApi.Excel.DiagramNode pTargetNode, LateBindingApi.Office.Enums.MsoRelativeNodePosition pos)
        {
            object[] paramArray = new object[3];
            paramArray[0] = copyChildren;
            paramArray.SetValue(pTargetNode, 1);
            paramArray[2] = pos;
            object returnValue = Invoker.MethodReturn(this, "CloneNode", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Excel.DiagramNode newClass = new LateBindingApi.Excel.DiagramNode(this, returnValue);
            return(newClass);
        }