Class Table
Inherited Members
Namespace: pdftron.Layout
Assembly: PDFTronDotNet.dll
Syntax
public class Table : ContentNode
Constructors
Table(IntPtr, object)
Declaration
public Table(IntPtr impl, object reference)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | impl | |
object | reference |
Methods
AddTableRow()
Adds a new row to the table.
Declaration
public TableRow AddTableRow()
Returns
Type | Description |
---|---|
TableRow | The newly created row. |
GetBorderThickness()
Gets the border thickness of the table.
Declaration
public double GetBorderThickness()
Returns
Type | Description |
---|---|
double | The border thickness of the table. |
GetDefaultRowHeight()
Gets the default row height of the table.
Declaration
public double GetDefaultRowHeight()
Returns
Type | Description |
---|---|
double | The default row height of the table. |
GetNumColumns()
Gets the number of columns in the table.
Declaration
public uint GetNumColumns()
Returns
Type | Description |
---|---|
uint | The number of columns in the table. |
GetNumRows()
Gets the number of rows in the table.
Declaration
public uint GetNumRows()
Returns
Type | Description |
---|---|
uint | The number of rows in the table. |
GetTableCell(uint, uint)
Gets a cell from the table.
Declaration
public TableCell GetTableCell(uint column, uint row)
Parameters
Type | Name | Description |
---|---|---|
uint | column | The column index of the cell to retrieve. |
uint | row | The row index of the cell to retrieve. |
Returns
Type | Description |
---|---|
TableCell | The TableCell at the specified column and row. |
SetBorder(double, byte, byte, byte)
Sets the cell's border thickness and color.
Declaration
public void SetBorder(double thickness, byte red, byte green, byte blue)
Parameters
Type | Name | Description |
---|---|---|
double | thickness | The thickness of the border. |
byte | red | The red component of the border color. |
byte | green | The green component of the border color. |
byte | blue | The blue component of the border color. |
SetDefaultColumnWidth(double)
Sets the default column width of the table.
Declaration
public void SetDefaultColumnWidth(double val)
Parameters
Type | Name | Description |
---|---|---|
double | val |
SetDefaultRowHeight(double)
Sets the default row height of the table.
Declaration
public void SetDefaultRowHeight(double val)
Parameters
Type | Name | Description |
---|---|---|
double | val |