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

# Row

## Overview

`Row` is a class in Aspose.Slides FOSS for Java.
Inherits from: `CellCollection`, `IRow`.

Represents a row in a table.

This class declares 27 methods for Row objects in Java programs.
Available methods include: `CellCollection`, `Row`, `asICollection`, `asIEnumerable`, `asIPresentationComponent`, `asISlideComponent`, `asList`, `get`, `getAsIBulkTextFormattable`, `getAsICellCollection`, `getHeight`, `getMinimalHeight`, and 10 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `asIBulkTextFormattable`, `asICellCollection`, `height`, `minimalHeight`, `presentation`, `rowFormat`, and 2 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `height` | `double` | Read | {@inheritDoc} * 

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. |
| `minimalHeight` | `double` | Read/Write | {@inheritDoc} * 

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. |
| `rowFormat` | `IRowFormat` | Read | {@inheritDoc} |
| `asICellCollection` | `ICellCollection` | Read | {@inheritDoc} |
| `asIBulkTextFormattable` | `IBulkTextFormattable` | Read | {@inheritDoc} |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `slidePart` | `Object` | Read | Returns the slide part associated with this collection. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Row()` | Creates an empty Row with no XML backing. |
| `Row(cells: List<ICell>, height: double)` | Creates a Row with the given cells and height, without XML backing. |
| `Row(trElement: Element, cells: List<ICell>, saveCallback: Runnable)` | Creates an XML-backed Row from the given {@code } element. |
| `initInternal(trElement: Element, rowIndex: int, slidePart: Object, parentSlide: IBaseSlide, table: ITable)` → `Row` | Initializes this row from an {@code } XML element, parsing child {@code } elements into {@link Cell} instances. |
| `getHeight()` → `double` | {@inheritDoc} * 

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. |
| `getMinimalHeight()` → `double` | {@inheritDoc} * 

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. |
| `setMinimalHeight(value: double)` | {@inheritDoc} * 

When XML-backed, writes the value back to the {@code h} attribute (converting from points to EMU) and triggers the save callback.

 / |
| `getRowFormat()` → `IRowFormat` | {@inheritDoc} |
| `getAsICellCollection()` → `ICellCollection` | {@inheritDoc} |
| `getAsIBulkTextFormattable()` → `IBulkTextFormattable` | {@inheritDoc} |
| `setTextFormat(source: Object)` | {@inheritDoc} * @throws IllegalArgumentException if {@code source} is {@code null} / |
| `CellCollection()` | Creates an empty CellCollection. |
| `CellCollection(cells: List<ICell>)` | Creates a new CellCollection with the given cells. |
| `CellCollection(cells: List<ICell>, parentSlide: IBaseSlide)` | Creates a new CellCollection with the given cells and parent slide. |
| `initInternal(cells: List<ICell>, slidePart: Object, parentSlide: IBaseSlide)` → `CellCollection` | Initializes this collection with the given cells, slide part, and parent slide. |
| `get(index: int)` → `ICell` | Calls get(index) on this Row instance. |
| `size()` → `int` | Calls size on this Row instance. |
| `asList()` → `List<ICell>` | Returns an unmodifiable view of the internal cell list. |
| `asICollection()` → `List<ICell>` | Calls asICollection on this Row instance. |
| `asIEnumerable()` → `Iterable<ICell>` | Calls asIEnumerable on this Row instance. |
| `getSlide()` → `IBaseSlide` | Returns the slide. |
| `setParentSlide(parentSlide: IBaseSlide)` | Sets the parent slide for this collection. |
| `getSlidePart()` → `Object` | Returns the slide part associated with this collection. |
| `getPresentation()` → `IPresentation` | Returns the presentation. |
| `asISlideComponent()` → `ISlideComponent` | Calls asISlideComponent on this Row instance. |
| `asIPresentationComponent()` → `IPresentationComponent` | Calls asIPresentationComponent on this Row instance. |
| `iterator()` → `Iterator<ICell>` | Calls iterator on this Row instance. |

## See Also

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