Example #1
0
        public NetOffice.OfficeApi.SmartArtNode AddNode(NetOffice.OfficeApi.Enums.MsoSmartArtNodePosition position)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(position);
            object   returnItem  = Invoker.MethodReturn(this, "AddNode", paramsArray);

            NetOffice.OfficeApi.SmartArtNode newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OfficeApi.SmartArtNode.LateBindingApiWrapperType) as NetOffice.OfficeApi.SmartArtNode;
            return(newObject);
        }
Example #2
0
        public NetOffice.OfficeApi.SmartArtNode AddNode()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "AddNode", paramsArray);

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