Aspose::Cells::Slicers::Slicer::GetNumberOfColumns method

Slicer::GetNumberOfColumns method

Returns or sets the number of columns in the specified slicer.

int32_t Aspose::Cells::Slicers::Slicer::GetNumberOfColumns()

Examples

if (slicer.GetNumberOfColumns() != 1)
{
    slicer.SetNumberOfColumns(1);
}

See Also