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

# IColumnCollection

## Overview

`IColumnCollection` is an interface in Aspose.Slides FOSS for Java.

Represents collection of columns in a table.

This interface declares 7 methods for IColumnCollection objects in Java programs.
Available methods include: `addClone`, `asICollection`, `asIEnumerable`, `get`, `insertClone`, `removeAt`, `size`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

## Methods

| Signature | Description |
|-----------|-------------|
| `get(index: int)` → `IColumn` | Gets the column at the specified index. |
| `size()` → `int` | Returns the number of columns in the collection. |
| `addClone(templ: IColumn, withAttachedColumns: boolean)` → `List<IColumn>` | Creates a copy of the specified template column and adds it to the end. |
| `insertClone(index: int, templ: IColumn, withAttachedColumns: boolean)` → `List<IColumn>` | Creates a copy of the specified template column and inserts it at the specified index. |
| `removeAt(firstColumnIndex: int, withAttachedRows: boolean)` | Removes the column at the specified index. |
| `asICollection()` → `List<IColumn>` | Returns the collection as a {@link List}. |
| `asIEnumerable()` → `Iterable<IColumn>` | Returns the collection as an {@link Iterable}. |

## See Also

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