# SetBounds Method

## Overloads

| [SetBounds(ISheetCell, Rect)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm#Qlik_Sense_Client_SheetExtensions_SetBounds_Qlik_Sense_Client_ISheetCell_Qlik_Engine_Rect_) |  | Set bounds for the object on the sheet |
| --- | --- | --- |
| [SetBounds(ISheetCell, Int32, Int32, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm#Qlik_Sense_Client_SheetExtensions_SetBounds_Qlik_Sense_Client_ISheetCell_System_Int32_System_Int32_System_Int32_System_Int32_) |  | Set bounds for the object on the sheet |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm)

## SetBounds(ISheetCell, Rect)

Set bounds for the object on the sheet

### Declaration

```

          [Obsolete("Use GenericObject.Properties to modify sheet definition.")]
public static void SetBounds(this ISheetCell source, Rect rect)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ISheetCell](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISheetCell.htm) | source | The cell |
| [Rect](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Rect.htm) | rect | Rect, size for the object on the sheet |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetBounds.htm)

## SetBounds(ISheetCell, Int32, Int32, Int32, Int32)

Set bounds for the object on the sheet

### Declaration

```

          [Obsolete("Use GenericObject.Properties to modify sheet definition.")]
public static void SetBounds(this ISheetCell source, int col, int row, int width, int height)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ISheetCell](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.ISheetCell.htm) | source | The cell |
| System.Int32 | col | Column |
| System.Int32 | row | Row |
| System.Int32 | width | Width |
| System.Int32 | height | Height |