コード例 #1
0
        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);
        }
コード例 #2
0
 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 }));
 }
コード例 #3
0
ファイル: CanvasShapes.cs プロジェクト: tinmanjk/NetOffice
 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 }));
 }