示例#1
0
        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);
        }
示例#2
0
 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 }));
 }
示例#3
0
 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 }));
 }
示例#4
0
 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 }));
 }