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