## Cell class


Represents a cell of the table's row.

```cpp
class Cell : public System::ICloneable
```

## Methods

| Method | Description |
| --- | --- |
| [Cell](./cell/)(const System::SharedPtr\<Rectangle\>\&) | Initializes a new instance of the [Cell](./) class. |
| [Cell](./cell/)() | Initializes a new instance of the [Cell](./) class. |
| [Clone](./clone/)() override | Clone the cell. |
| [get_Alignment](./get_alignment/)() const | Gets the alignment. |
| [get_BackgroundColor](./get_backgroundcolor/)() const | Gets the background color. |
| [get_BackgroundImage](./get_backgroundimage/)() const | Gets the background image. |
| [get_BackgroundImageFile](./get_backgroundimagefile/)() const | Gets the background image file. |
| [get_Border](./get_border/)() const | Gets the border. |
| [get_ColSpan](./get_colspan/)() const | Gets the column span. |
| [get_DefaultCellTextState](./get_defaultcelltextstate/)() | Gets the default cell text state. |
| [get_IsNoBorder](./get_isnoborder/)() const | Gets the cell have border. |
| [get_IsOverrideByFragment](./get_isoverridebyfragment/)() const | Sets the cell's TextState property is overriden by TextFragment TextState property. |
| [get_IsWordWrapped](./get_iswordwrapped/)() const | Gets the cell's text word wrapped. |
| [get_Margin](./get_margin/)() const | Gets the padding. |
| [get_Paragraphs](./get_paragraphs/)() const | Gets the cell's formatted text. |
| [get_RowSpan](./get_rowspan/)() const | Gets the row span. |
| [get_VerticalAlignment](./get_verticalalignment/)() const | Gets the vertical alignment. |
| [get_Width](./get_width/)() const | Gets the column width. |
| [set_Alignment](./set_alignment/)(HorizontalAlignment) | Sets the alignment. |
| [set_BackgroundColor](./set_backgroundcolor/)(const System::SharedPtr\<Color\>\&) | Sets the background color. |
| [set_BackgroundImage](./set_backgroundimage/)(const System::SharedPtr\<Image\>\&) | Sets the background image. |
| [set_BackgroundImageFile](./set_backgroundimagefile/)(const System::String\&) | Sets the background image file. |
| [set_Border](./set_border/)(const System::SharedPtr\<BorderInfo\>\&) | Sets the border. |
| [set_ColSpan](./set_colspan/)(int32_t) | Sets the column span. |
| [set_DefaultCellTextState](./set_defaultcelltextstate/)(const System::SharedPtr\<Text::TextState\>\&) | Sets the default cell text state. |
| [set_IsNoBorder](./set_isnoborder/)(bool) | Sets the cell have border. |
| [set_IsOverrideByFragment](./set_isoverridebyfragment/)(bool) | Sets the cell's TextState property is overriden by TextFragment TextState property. |
| [set_IsWordWrapped](./set_iswordwrapped/)(bool) | Sets the cell's text word wrapped. |
| [set_Margin](./set_margin/)(const System::SharedPtr\<MarginInfo\>\&) | Sets the padding. |
| [set_Paragraphs](./set_paragraphs/)(const System::SharedPtr\<Aspose::Pdf::Paragraphs\>\&) | Sets the cell's formatted text. |
| [set_RowSpan](./set_rowspan/)(int32_t) | Sets the row span. |
| [set_VerticalAlignment](./set_verticalalignment/)(Aspose::Pdf::VerticalAlignment) | Sets the vertical alignment. |
## See Also

* Class [ICloneable](../../system/icloneable/)
* Namespace [Aspose::Pdf](../)
* Library [Aspose.PDF for C++](../../)
