public class

TableRow

extends ContentNode
java.lang.Object
   ↳ com.pdftron.layout.ContentElement
     ↳ com.pdftron.layout.ContentNode
       ↳ com.pdftron.layout.TableRow

Class Overview

A class representing a table row, which can be used during document creation.

Summary

Public Methods
TableCell addTableCell()
Add a new cell to the row
int getNumColumns()
Get number of columns in the row

Because of cell merging different rows may have different numbers of columns.

void setRowHeight(double val)
Set row height
[Expand]
Inherited Methods
From class com.pdftron.layout.ContentNode
From class com.pdftron.layout.ContentElement
From class java.lang.Object

Public Methods

public TableCell addTableCell ()

Add a new cell to the row

Returns
  • The newly created cell

public int getNumColumns ()

Get number of columns in the row

Because of cell merging different rows may have different numbers of columns.

Returns
  • number of columns in the row

public void setRowHeight (double val)

Set row height

Parameters
val The row height