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

# Column

## Overview

`Column` is a class in Aspose.Slides FOSS for Java.
Inherits from: `IColumn`.

Represents a column in a table.

This class declares 17 methods for Column objects in Java programs.
Available methods include: `Column`, `asICollection`, `asIEnumerable`, `asIPresentationComponent`, `asISlideComponent`, `get`, `getAsIBulkTextFormattable`, `getAsICellCollection`, `getColumnFormat`, `getPresentation`, `getSlide`, `getWidth`, and 4 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 | Gets or sets the width. |
| `asICellCollection` | `ICellCollection` | Read | Gets the as i cell collection. |
| `asIBulkTextFormattable` | `IBulkTextFormattable` | Read | Gets the as i bulk text formattable. |
| `columnFormat` | `IColumnFormat` | Read | Gets the column format. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Column(gridColElement: Element, saveCallback: Runnable, cells: List<ICell>)` | Creates a new Column backed by the given {@code } element. |
| `Column()` | Creates a Column with no backing element. |
| `initInternal(gridColElement: Element, colIndex: int, tblElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable)` → `Column` | Initializes this column from the given {@code } element and table context. |
| `getWidth()` → `double` | Returns the width. |
| `setWidth(value: double)` | Sets the width value. |
| `get(index: int)` → `ICell` | Returns the cell at the given column index |
| `size()` → `int` | Calls size on this Column instance. |
| `getAsICellCollection()` → `ICellCollection` | Returns the as i cell collection. |
| `getAsIBulkTextFormattable()` → `IBulkTextFormattable` | Returns the as i bulk text formattable. |
| `getColumnFormat()` → `IColumnFormat` | Returns the column format. |
| `setTextFormat(source: Object)` | Sets the text format value. |
| `asICollection()` → `List<ICell>` | Returns the column's cells as a List<ICell> |
| `asIEnumerable()` → `Iterable<ICell>` | Returns the column's cells as an Iterable<ICell> |
| `getSlide()` → `IBaseSlide` | Returns the slide. |
| `getPresentation()` → `IPresentation` | Returns the presentation. |
| `asISlideComponent()` → `ISlideComponent` | Returns this column as an ISlideComponent |
| `asIPresentationComponent()` → `IPresentationComponent` | Returns this column as an IPresentationComponent |

## See Also

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