**Inheritance:**
java.lang.Object, com.aspose.pdf.Row

**All Implemented Interfaces:**
com.aspose.ms.System.ICloneable

```
public final class Row extends Object implements com.aspose.ms.System.ICloneable
```

Represents a row of the table.

## Constructors

| Constructor | Description |
| --- | --- |
| [Row](#Row--) | Initializes a new instance of the Row class. |

## Methods

| Method | Description |
| --- | --- |
| [deepClone](#deepClone--) | Clone the row. |
| [getBackgroundColor](#getBackgroundColor--) | Gets the background color. |
| [getBorder](#getBorder--) | Gets the border. |
| [getCells](#getCells--) | Gets the getCells() of the row. |
| [getDefaultCellBorder](#getDefaultCellBorder--) | Gets default cell border; |
| [getDefaultCellPadding](#getDefaultCellPadding--) | Gets default margin for row getCells() |
| [getDefaultCellTextState](#getDefaultCellTextState--) | Gets or sets default text state for row getCells() Gets default text state for row getCells() |
| [getFixedRowHeight](#getFixedRowHeight--) | Gets fixed row height - row may have fixed height; |
| [getMinRowHeight](#getMinRowHeight--) | Gets height for row; |
| [getVerticalAlignment](#getVerticalAlignment--) | Gets or sets the vertical alignment. |
| [isInNewPage](#isInNewPage--) | Gets fixed row is in new page - page with this property should be printed to next page Default false; |
| [isRowBroken](#isRowBroken--) | Gets is row can be broken between two pages |
| [setBackgroundColor](#setBackgroundColor-com.aspose.pdf.Color-) | Sets the background color. |
| [setBorder](#setBorder-com.aspose.pdf.BorderInfo-) | Sets the border. |
| [setCells](#setCells-com.aspose.pdf.Cells-) | Sets the getCells() of the row. |
| [setDefaultCellBorder](#setDefaultCellBorder-com.aspose.pdf.BorderInfo-) | Sets default cell border; |
| [setDefaultCellPadding](#setDefaultCellPadding-com.aspose.pdf.MarginInfo-) | Sets default margin for row getCells() |
| [setDefaultCellTextState](#setDefaultCellTextState-com.aspose.pdf.TextState-) | Sets default text state for row getCells() |
| [setFixedRowHeight](#setFixedRowHeight-double-) | Sets fixed row height - row may have fixed height; |
| [setInNewPage](#setInNewPage-boolean-) | Sets is row can be broken between two pages |
| [setMinRowHeight](#setMinRowHeight-double-) | Sets height for row; |
| [setRowBroken](#setRowBroken-boolean-) | Sets is row can be broken between two pages |
| [setVerticalAlignment](#setVerticalAlignment-com.aspose.pdf.VerticalAlignment-) | Gets or sets the vertical alignment. |

### Row {#Row--}
```
public Row()
```

Initializes a new instance of the Row class.

### deepClone {#deepClone--}
```
public Object deepClone()
```

Clone the row.

**Returns:**
The cloned object

### getBackgroundColor {#getBackgroundColor--}
```
public Color getBackgroundColor()
```

Gets the background color.

**Returns:**
Color value

### getBorder {#getBorder--}
```
public BorderInfo getBorder()
```

Gets the border.

**Returns:**
BorderInfo value

### getCells {#getCells--}
```
public Cells getCells()
```

Gets the getCells() of the row.

**Returns:**
getCells() value

### getDefaultCellBorder {#getDefaultCellBorder--}
```
public BorderInfo getDefaultCellBorder()
```

Gets default cell border;

**Returns:**
BorderInfo value

### getDefaultCellPadding {#getDefaultCellPadding--}
```
public MarginInfo getDefaultCellPadding()
```

Gets default margin for row getCells()

**Returns:**
MarginInfo value

### getDefaultCellTextState {#getDefaultCellTextState--}
```
public TextState getDefaultCellTextState()
```

Gets or sets default text state for row getCells() Gets default text state for row getCells()

**Returns:**
TextState value

### getFixedRowHeight {#getFixedRowHeight--}
```
public double getFixedRowHeight()
```

Gets fixed row height - row may have fixed height;

**Returns:**
double value

### getMinRowHeight {#getMinRowHeight--}
```
public double getMinRowHeight()
```

Gets height for row;

**Returns:**
double value

### getVerticalAlignment {#getVerticalAlignment--}
```
public VerticalAlignment getVerticalAlignment()
```

Gets or sets the vertical alignment.

**Returns:**
VerticalAlignment element @see VerticalAlignment

### isInNewPage {#isInNewPage--}
```
public boolean isInNewPage()
```

Gets fixed row is in new page - page with this property should be printed to next page Default false;

**Returns:**
boolean value

### isRowBroken {#isRowBroken--}
```
public boolean isRowBroken()
```

Gets is row can be broken between two pages

**Returns:**
boolean value

### setBackgroundColor {#setBackgroundColor-com.aspose.pdf.Color-}
Sets the background color.

### setBorder {#setBorder-com.aspose.pdf.BorderInfo-}
Sets the border.

### setCells {#setCells-com.aspose.pdf.Cells-}
Sets the getCells() of the row.

### setDefaultCellBorder {#setDefaultCellBorder-com.aspose.pdf.BorderInfo-}
Sets default cell border;

### setDefaultCellPadding {#setDefaultCellPadding-com.aspose.pdf.MarginInfo-}
Sets default margin for row getCells()

### setDefaultCellTextState {#setDefaultCellTextState-com.aspose.pdf.TextState-}
Sets default text state for row getCells()

### setFixedRowHeight {#setFixedRowHeight-double-}
```
public void setFixedRowHeight(double value)
```

Sets fixed row height - row may have fixed height;

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | double value |

### setInNewPage {#setInNewPage-boolean-}
```
public void setInNewPage(boolean value)
```

Sets is row can be broken between two pages

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | boolean value |

### setMinRowHeight {#setMinRowHeight-double-}
```
public void setMinRowHeight(double value)
```

Sets height for row;

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | double value |

### setRowBroken {#setRowBroken-boolean-}
```
public void setRowBroken(boolean value)
```

Sets is row can be broken between two pages

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | boolean value |

### setVerticalAlignment {#setVerticalAlignment-com.aspose.pdf.VerticalAlignment-}
Gets or sets the vertical alignment.
