# SetSize Method

## Overloads

| [SetSize(ISheetCell, Int32, Int32)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.SheetExtensions.SetSize.htm#Qlik_Sense_Client_SheetExtensions_SetSize_Qlik_Sense_Client_ISheetCell_System_Int32_System_Int32_) |  | Set size for the object on the sheet |
| --- | --- | --- |

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

## SetSize(ISheetCell, Int32, Int32)

Set size for the object on the sheet

### Declaration

```

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

### Parameters

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