---
title: "Cell"
url: "https://reference.aspose.com/pdf/python-net/aspose.pdf/cell/"
product: "Aspose.PDF for Python via .NET API Reference"
description: "Represents a cell of the table's row."
---


## Cell class

Represents a cell of the table's row.

The Cell type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|Cell(rect)|Initializes a new instance of the Cell class|
|Cell()|Initializes a new instance of the Cell class.|
## Properties
| Name | Description |
| :- | :- |
|is_no_border|Gets or sets the cell have border.|
|margin|Gets or sets the padding.|
|border|Gets or sets the border.|
|background_color|Gets or sets the background color.|
|background_image_file|Gets or sets the background image file.|
|background_image|Gets or sets the background image|
|alignment|Gets or sets the alignment.|
|default_cell_text_state|Gets or sets the default cell text state.|
|is_override_by_fragment|Sets the cell's TextState property is overriden by TextFragment TextState property.|
|paragraphs|Gets or sets the cell's formatted text.|
|is_word_wrapped|Gets or sets the cell's text word wrapped.|
|vertical_alignment|Gets or sets the vertical alignment.|
|col_span|Gets or sets the column span.|
|row_span|Gets or sets the row span.|
|width|Gets or sets the column width.|
## Methods
| Name | Description |
| :- | :- |
|clone()|Clone the cell.|

### See Also

* namespace [aspose.pdf](/pdf/python-net/aspose.pdf/)
* assembly [Aspose.PDF](/pdf/python-net/)

