コード例 #1
0
        public LateBindingApi.Office.Shape AddDiagram(LateBindingApi.Office.Enums.MsoDiagramType type, Double left, Double top, Double width, Double height)
        {
            object[] paramArray = new object[5];
            paramArray[0] = type;
            paramArray[1] = left;
            paramArray[2] = top;
            paramArray[3] = width;
            paramArray[4] = height;
            object returnValue = Invoker.MethodReturn(this, "AddDiagram", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.Office.Shape newClass = new LateBindingApi.Office.Shape(this, returnValue);
            return(newClass);
        }
コード例 #2
0
 public void Convert(LateBindingApi.Office.Enums.MsoDiagramType type)
 {
     object[] paramArray = new object[1];
     paramArray[0] = type;
     Invoker.Method(this, "Convert", paramArray);
 }