Aspose::Pdf::LogicalStructure::TableCellElement class

TableCellElement class

Represents a base class for table cell elements (TH and TD) in logical structure.

class TableCellElement : public Aspose::Pdf::LogicalStructure::TableChildElement,
                         public Aspose::Pdf::LogicalStructure::ITextElement,
                         public Aspose::Pdf::Tagged::IAdjustPosition

Methods

MethodDescription
AdjustPosition(const System::SharedPtr<Tagged::PositionSettings>&) override
get_Alignment() constGets the cell alignment.
get_BackgroundColor() constGets the cell background color.
get_Border() constGets the cell border.
get_ColSpan() constGets the column span.
get_DefaultCellTextState()Gets the default cell text state.
get_IsNoBorder() constGets the cell have border.
get_IsWordWrapped() constGets the cell’s text word wrapped.
get_Margin() constGets the padding.
get_RowSpan() constGets the row span.
get_StructureTextState() overrideGets T:/Aspose::Pdf::LogicalStructure::StructureTextState object for current element.
get_VerticalAlignment() constGets the vertical alignment.
set_Alignment(HorizontalAlignment)Sets the cell alignment.
set_BackgroundColor(const System::SharedPtr<Color>&)Sets the cell background color.
set_Border(const System::SharedPtr<BorderInfo>&)Sets the cell border.
set_ColSpan(int32_t)Sets the column span.
set_DefaultCellTextState(const System::SharedPtr<Text::TextState>&)Sets the default cell text state.
set_IsNoBorder(bool)Sets the cell have border.
set_IsWordWrapped(bool)Sets the cell’s text word wrapped.
set_Margin(const System::SharedPtr<MarginInfo>&)Sets the padding.
set_RowSpan(int32_t)Sets the row span.
set_VerticalAlignment(Aspose::Pdf::VerticalAlignment)Sets the vertical alignment.
SetText(const System::String&) overrideAppends text content to current text element.

See Also