Table

Overview

Table is a class in Aspose.PDF FOSS for C++.

The Table class lets developers construct PDF tables with full control over rows, column widths, borders, cell padding, and default text state.

This class provides 30 methods for working with Table objects in C++ programs. Available methods include: Alignment, BackgroundColor, Border, ColumnWidths, DefaultCellBorder, DefaultCellPadding, DefaultCellTextState, DefaultColumnWidth, IsBordersIncluded, IsBroken, Left, RepeatingColumnsCount, and 3 additional methods. All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
Rows()Aspose::Pdf::RowsCalls Rows on this Table instance.
Rows()Aspose::Pdf::Rows
ColumnWidths()std::stringCalls ColumnWidths on this Table instance.
ColumnWidths(value: std::string)Calls ColumnWidths(value) on this Table instance.
DefaultColumnWidth()std::stringCalls DefaultColumnWidth on this Table instance.
DefaultColumnWidth(value: std::string)Calls DefaultColumnWidth(value) on this Table instance.
Border()BorderInfoCalls Border on this Table instance.
Border(value: BorderInfo)Calls Border(value) on this Table instance.
DefaultCellBorder()BorderInfoCalls DefaultCellBorder on this Table instance.
DefaultCellBorder(value: BorderInfo)Calls DefaultCellBorder(value) on this Table instance.
DefaultCellPadding()MarginInfoCalls DefaultCellPadding on this Table instance.
DefaultCellPadding(value: MarginInfo)Calls DefaultCellPadding(value) on this Table instance.
DefaultCellTextState()Aspose::Pdf::Text::TextStateCalls DefaultCellTextState on this Table instance.
DefaultCellTextState(value: Aspose::Pdf::Text::TextState)Calls DefaultCellTextState(value) on this Table instance.
Alignment()Aspose::Pdf::HorizontalAlignmentCalls Alignment on this Table instance.
Alignment(value: Aspose::Pdf::HorizontalAlignment)Calls Alignment(value) on this Table instance.
Left()floatCalls Left on this Table instance.
Left(value: float)Calls Left(value) on this Table instance.
Top()floatCalls Top on this Table instance.
Top(value: float)Calls Top(value) on this Table instance.
BackgroundColor()Aspose::Pdf::ColorCalls BackgroundColor on this Table instance.
BackgroundColor(value: Aspose::Pdf::Color)Calls BackgroundColor(value) on this Table instance.
IsBordersIncluded()boolReturns true if borders included is set.
IsBordersIncluded(value: bool)Calls IsBordersIncluded(value) on this Table instance.
RepeatingRowsCount()intCalls RepeatingRowsCount on this Table instance.
RepeatingRowsCount(value: int)Calls RepeatingRowsCount(value) on this Table instance.
RepeatingColumnsCount()intCalls RepeatingColumnsCount on this Table instance.
RepeatingColumnsCount(value: int)Calls RepeatingColumnsCount(value) on this Table instance.
IsBroken()boolReturns true if broken is set.
IsBroken(value: bool)Calls IsBroken(value) on this Table instance.

See Also