public void EndConnect(LateBindingApi.Excel.Shape connectedShape, Int32 connectionSite) { object[] paramArray = new object[2]; paramArray.SetValue(connectedShape, 0); paramArray[1] = connectionSite; Invoker.Method(this, "EndConnect", paramArray); }
public LateBindingApi.Excel.Shape AddChart() { object returnValue = Invoker.MethodReturn(this, "AddChart", null); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape ConvertToShape() { object returnValue = Invoker.MethodReturn(this, "ConvertToShape", null); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddSmartArt(LateBindingApi.Office.SmartArtLayout layout) { object[] paramArray = new object[1]; paramArray.SetValue(layout, 0); object returnValue = Invoker.MethodReturn(this, "AddSmartArt", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddPolyline(object safeArrayOfPoints) { object[] paramArray = new object[1]; paramArray[0] = safeArrayOfPoints; object returnValue = Invoker.MethodReturn(this, "AddPolyline", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape _Default(object index) { object[] paramArray = new object[1]; paramArray[0] = index; object returnValue = Invoker.MethodReturn(this, "_Default", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddCanvas(Double left, Double top, Double width, Double height) { object[] paramArray = new object[4]; paramArray[0] = left; paramArray[1] = top; paramArray[2] = width; paramArray[3] = height; object returnValue = Invoker.MethodReturn(this, "AddCanvas", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public IEnumerator GetEnumerator() { object enumProxy = Invoker.PropertyGet(this, "_NewEnum"); COMObject enumerator = new COMObject(this, enumProxy); Invoker.Method(enumerator, "Reset", null); bool isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); while (true == isMoveNextTrue) { object itemProxy = Invoker.PropertyGet(enumerator, "Current", null); LateBindingApi.Excel.Shape returnClass = new LateBindingApi.Excel.Shape(this, itemProxy); isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null); yield return(returnClass); } }
public LateBindingApi.Excel.Shape AddLine(Double beginX, Double beginY, Double endX, Double endY) { object[] paramArray = new object[4]; paramArray[0] = beginX; paramArray[1] = beginY; paramArray[2] = endX; paramArray[3] = endY; object returnValue = Invoker.MethodReturn(this, "AddLine", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddConnector(LateBindingApi.Office.Enums.MsoConnectorType type, Double beginX, Double beginY, Double endX, Double endY) { object[] paramArray = new object[5]; paramArray[0] = type; paramArray[1] = beginX; paramArray[2] = beginY; paramArray[3] = endX; paramArray[4] = endY; object returnValue = Invoker.MethodReturn(this, "AddConnector", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddSmartArt(LateBindingApi.Office.SmartArtLayout layout, object left, object top, object width, object height) { object[] paramArray = new object[5]; paramArray.SetValue(layout, 0); paramArray[1] = left; paramArray[2] = top; paramArray[3] = width; paramArray[4] = height; object returnValue = Invoker.MethodReturn(this, "AddSmartArt", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddTextbox(LateBindingApi.Office.Enums.MsoTextOrientation orientation, Double left, Double top, Double width, Double height) { object[] paramArray = new object[5]; paramArray[0] = orientation; paramArray[1] = left; paramArray[2] = top; paramArray[3] = width; paramArray[4] = height; object returnValue = Invoker.MethodReturn(this, "AddTextbox", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddChart(object xlChartType, object left, object top, object width, object height) { object[] paramArray = new object[5]; paramArray[0] = xlChartType; paramArray[1] = left; paramArray[2] = top; paramArray[3] = width; paramArray[4] = height; object returnValue = Invoker.MethodReturn(this, "AddChart", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddFormControl(LateBindingApi.Excel.Enums.XlFormControl type, Int32 left, Int32 top, Int32 width, Int32 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, "AddFormControl", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.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.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddPicture(string filename, LateBindingApi.Office.Enums.MsoTriState linkToFile, LateBindingApi.Office.Enums.MsoTriState saveWithDocument, Double left, Double top, Double width, Double height) { object[] paramArray = new object[7]; paramArray[0] = filename; paramArray[1] = linkToFile; paramArray[2] = saveWithDocument; paramArray[3] = left; paramArray[4] = top; paramArray[5] = width; paramArray[6] = height; object returnValue = Invoker.MethodReturn(this, "AddPicture", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddTextEffect(LateBindingApi.Office.Enums.MsoPresetTextEffect presetTextEffect, string text, string fontName, Double fontSize, LateBindingApi.Office.Enums.MsoTriState fontBold, LateBindingApi.Office.Enums.MsoTriState fontItalic, Double left, Double top) { object[] paramArray = new object[8]; paramArray[0] = presetTextEffect; paramArray[1] = text; paramArray[2] = fontName; paramArray[3] = fontSize; paramArray[4] = fontBold; paramArray[5] = fontItalic; paramArray[6] = left; paramArray[7] = top; object returnValue = Invoker.MethodReturn(this, "AddTextEffect", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }
public LateBindingApi.Excel.Shape AddOLEObject(object classType, object filename, object link, object displayAsIcon, object iconFileName, object iconIndex, object iconLabel, object left, object top, object width, object height) { object[] paramArray = new object[11]; paramArray[0] = classType; paramArray[1] = filename; paramArray[2] = link; paramArray[3] = displayAsIcon; paramArray[4] = iconFileName; paramArray[5] = iconIndex; paramArray[6] = iconLabel; paramArray[7] = left; paramArray[8] = top; paramArray[9] = width; paramArray[10] = height; object returnValue = Invoker.MethodReturn(this, "AddOLEObject", paramArray); if (null == returnValue) { return(null); } LateBindingApi.Excel.Shape newClass = new LateBindingApi.Excel.Shape(this, returnValue); return(newClass); }