## Slicer::GetColumnWidthPixel method


Gets or sets the width of each column in the slicer, in unit of pixels.

```cpp
int32_t Aspose::Cells::Slicers::Slicer::GetColumnWidthPixel()
```


## Examples


```cpp
if (slicer.GetColumnWidthPixel() != 120)
{
    slicer.SetColumnWidthPixel(120);
}
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [Slicer](../)
* Namespace [Aspose::Cells::Slicers](../../)
* Library [Aspose.Cells for C++](../../../)
