---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/ColumnCollection
---

# ColumnCollection

## Overview

`ColumnCollection` is a class in Aspose.Slides FOSS for Python.
Inherits from: `BaseCollection`, `IColumnCollection`.

Represents collection of columns in a table.

This class provides 3 methods for working with ColumnCollection objects in Python programs.
Available methods include: `add_clone`, `insert_clone`, `remove_at`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `as_i_collection`, `as_i_enumerable`, `length`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `as_i_collection` | `list` | Read | Gets the as i collection. |
| `as_i_enumerable` | `Any` | Read | Gets the as i enumerable. |
| `length` | `int` | Read | Returns the number of elements. |

## Methods

| Signature | Description |
|-----------|-------------|
| `add_clone(templ, with_attached_columns)` → `list[IColumn]` | Adds a cloned copy of the template column, optionally with attached columns, and returns a list of IColumn |
| `insert_clone(index, templ, with_attached_columns)` → `list[IColumn]` | Inserts a cloned copy of the template column at the given index, optionally with attached columns, returning a list of IColumn |
| `remove_at(first_column_index, with_attached_rows)` | Removes columns starting at the specified index, optionally also removing attached rows |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)