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

# IColumn

## Overview

`IColumn` is an interface in Aspose.Slides FOSS for Java.
Inherits from: `ICellCollection`, `IBulkTextFormattable`.

Represents a column in a table.

This interface declares 14 methods for IColumn objects in Java programs.
Available methods include: `asICollection`, `asIEnumerable`, `asIPresentationComponent`, `asISlideComponent`, `get`, `getAsIBulkTextFormattable`, `getAsICellCollection`, `getColumnFormat`, `getPresentation`, `getSlide`, `getWidth`, `setTextFormat`, and 2 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `asIBulkTextFormattable`, `asICellCollection`, `columnFormat`, `presentation`, `slide`, `width`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `width` | `double` | Read/Write | Returns or sets the width of a column. |
| `asICellCollection` | `ICellCollection` | Read | Allows to get base ICellCollection interface. |
| `asIBulkTextFormattable` | `IBulkTextFormattable` | Read | Allows to get base IBulkTextFormattable interface. |
| `columnFormat` | `IColumnFormat` | Read | Returns the ColumnFormat object that contains formatting properties for this column. |
| `slide` | `IBaseSlide` | Read | Returns the parent slide. |
| `presentation` | `IPresentation` | Read | Returns the presentation containing this component. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getWidth()` → `double` | Returns or sets the width of a column. |
| `setWidth(value: double)` | Sets the width of a column. |
| `getAsICellCollection()` → `ICellCollection` | Allows to get base ICellCollection interface. |
| `getAsIBulkTextFormattable()` → `IBulkTextFormattable` | Allows to get base IBulkTextFormattable interface. |
| `getColumnFormat()` → `IColumnFormat` | Returns the ColumnFormat object that contains formatting properties for this column. |
| `get(index: int)` → `ICell` | Gets the cell at the specified index. |
| `size()` → `int` | Returns the number of cells in the collection. |
| `asISlideComponent()` → `ISlideComponent` | Returns the base {@link ISlideComponent} interface. |
| `asICollection()` → `List<ICell>` | Returns the collection as a {@link List}. |
| `asIEnumerable()` → `Iterable<ICell>` | Returns the collection as an {@link Iterable}. |
| `getSlide()` → `IBaseSlide` | Returns the parent slide. |
| `asIPresentationComponent()` → `IPresentationComponent` | Returns the base {@link IPresentationComponent} interface. |
| `getPresentation()` → `IPresentation` | Returns the presentation containing this component. |
| `setTextFormat(source: Object)` | Sets the text format for all child text elements. |

## See Also

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