public NetOffice.OfficeApi.Shape AddShape(NetOffice.OfficeApi.Enums.MsoAutoShapeType type, Single left, Single top, Single width, Single height) { object[] paramsArray = Invoker.ValidateParamsArray(type, left, top, width, height); object returnItem = Invoker.MethodReturn(this, "AddShape", paramsArray); NetOffice.OfficeApi.Shape newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.OfficeApi.Shape.LateBindingApiWrapperType) as NetOffice.OfficeApi.Shape; return(newObject); }
public NetOffice.PublisherApi.Shape AddShape(NetOffice.OfficeApi.Enums.MsoAutoShapeType type, object left, object top, object width, object height) { return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PublisherApi.Shape>(this, "AddShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[] { type, left, top, width, height })); }
public NetOffice.PowerPointApi.Shape AddShape(NetOffice.OfficeApi.Enums.MsoAutoShapeType type, Single left, Single top, Single width, Single height) { return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.PowerPointApi.Shape>(this, "AddShape", NetOffice.PowerPointApi.Shape.LateBindingApiWrapperType, new object[] { type, left, top, width, height })); }
public virtual NetOffice.ExcelApi.Shape AddShape(NetOffice.OfficeApi.Enums.MsoAutoShapeType type, Single left, Single top, Single width, Single height) { return(InvokerService.InvokeInternal.ExecuteKnownReferenceMethodGet <NetOffice.ExcelApi.Shape>(this, "AddShape", typeof(NetOffice.ExcelApi.Shape), new object[] { type, left, top, width, height })); }