## WebCells.SetColumnWidth method

Sets the width of the specified column.the accepted width type is Point,Pixel or Inch

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

| Parameter | Type | Description |
| --- | --- | --- |
| column | Int32 | Column index. |
| width | Unit | Width of Column . |

### Remarks

To hide a column, sets column width to zero.

### See Also

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


