## GridCells.SetColumnWidth method

Sets the width of the specified column.

```csharp
public void SetColumnWidth(int column, double width)
```

| Parameter | Type | Description |
| --- | --- | --- |
| column | Int32 | Column index. |
| width | Double | Width of column.Column width must be between 0 and 255. |

### Remarks

To hide a column, sets column width to zero.

### See Also

* class [GridCells](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


