Exemple #1
0
        public NetOffice.ExcelApi.DiagramNode AddNode(object index, NetOffice.OfficeApi.Enums.MsoDiagramNodeType nodeType)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(index, nodeType);
            object   returnItem  = Invoker.MethodReturn(this, "AddNode", paramsArray);

            NetOffice.ExcelApi.DiagramNode newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ExcelApi.DiagramNode.LateBindingApiWrapperType) as NetOffice.ExcelApi.DiagramNode;
            return(newObject);
        }
Exemple #2
0
        public NetOffice.PowerPointApi.DiagramNode AddNode(NetOffice.OfficeApi.Enums.MsoRelativeNodePosition pos, NetOffice.OfficeApi.Enums.MsoDiagramNodeType nodeType)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(pos, nodeType);
            object   returnItem  = Invoker.MethodReturn(this, "AddNode", paramsArray);

            NetOffice.PowerPointApi.DiagramNode newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.PowerPointApi.DiagramNode.LateBindingApiWrapperType) as NetOffice.PowerPointApi.DiagramNode;
            return(newObject);
        }