---
title: "Aspose::Pdf::LogicalStructure::TableTRElement class"
url: "https://reference.aspose.com/pdf/cpp/aspose.pdf.logicalstructure/tabletrelement/"
product: "Aspose.PDF for C++ API Reference"
description: "Aspose::Pdf::LogicalStructure::TableTRElement class. Represents TR structure element in logical structure of the table in C++."
---

## TableTRElement class


Represents TR structure element in logical structure of the table.

```cpp
class TableTRElement : public Aspose::Pdf::LogicalStructure::TableChildElement
```

## Methods

| Method | Description |
| --- | --- |
| [CreateTD](./createtd/)() | Creates [Aspose::Pdf::LogicalStructure::TableTHElement](../tablethelement/) and added it to current table. |
| [CreateTH](./createth/)() | Creates [Aspose::Pdf::LogicalStructure::TableTHElement](../tablethelement/) and added it to current table. |
| [get_BackgroundColor](./get_backgroundcolor/)() const | Gets the row background color. |
| [get_Border](./get_border/)() const | Gets the row border. |
| [get_DefaultCellBorder](./get_defaultcellborder/)() const | Gets default cell border. |
| [get_DefaultCellPadding](./get_defaultcellpadding/)() const | Gets default margin for row cells. |
| [get_DefaultCellTextState](./get_defaultcelltextstate/)() | Gets default text state for row cells. |
| [get_FixedRowHeight](./get_fixedrowheight/)() const | Gets fixed row height - row may have fixed height. |
| [get_IsInNewPage](./get_isinnewpage/)() const | Gets fixed row is in new page - page with this property should be printed to next page Default false. |
| [get_IsRowBroken](./get_isrowbroken/)() const | Gets is row can be broken between two pages. |
| [get_MinRowHeight](./get_minrowheight/)() const | Gets height for row. |
| [get_VerticalAlignment](./get_verticalalignment/)() const | Gets the vertical alignment. |
| [set_BackgroundColor](./set_backgroundcolor/)(const System::SharedPtr\<Color\>\&) | Sets the row background color. |
| [set_Border](./set_border/)(const System::SharedPtr\<BorderInfo\>\&) | Sets the row border. |
| [set_DefaultCellBorder](./set_defaultcellborder/)(const System::SharedPtr\<BorderInfo\>\&) | Gets default cell border. |
| [set_DefaultCellPadding](./set_defaultcellpadding/)(const System::SharedPtr\<MarginInfo\>\&) | Sets default margin for row cells. |
| [set_DefaultCellTextState](./set_defaultcelltextstate/)(const System::SharedPtr\<Text::TextState\>\&) | Sets default text state for row cells. |
| [set_FixedRowHeight](./set_fixedrowheight/)(double) | Gets fixed row height - row may have fixed height. |
| [set_IsInNewPage](./set_isinnewpage/)(bool) | Gets fixed row is in new page - page with this property should be printed to next page Default false. |
| [set_IsRowBroken](./set_isrowbroken/)(bool) | Gets is row can be broken between two pages. |
| [set_MinRowHeight](./set_minrowheight/)(double) | Gets height for row. |
| [set_VerticalAlignment](./set_verticalalignment/)(Aspose::Pdf::VerticalAlignment) | Sets the vertical alignment. |
## See Also

* Class [TableChildElement](../tablechildelement/)
* Namespace [Aspose::Pdf::LogicalStructure](../)
* Library [Aspose.PDF for C++](../../)
