Table of Contents

Class RtfTable

Namespace
iTextSharp.text.rtf.table
Assembly
iTextSharp.LGPLv2.Core.dll

The RtfTable wraps a Table. INTERNAL USE ONLY @version \(Version:\) @author Mark Hall (Mark.Hall@mail.room3b.eu) @author Steffen Stundzig @author Benoit WIART

public class RtfTable : RtfElement, IRtfBasicElement, IRtfElementInterface
Inheritance
RtfTable
Implements
Inherited Members

Constructors

RtfTable(RtfDocument, Table)

Constructs a RtfTable based on a Table for a RtfDocument.

public RtfTable(RtfDocument doc, Table table)

Parameters

doc RtfDocument

The RtfDocument this RtfTable belongs to

table Table

The Table that this RtfTable wraps

RtfTable(RtfDocument, PdfPTable)

Constructs a RtfTable based on a PdfTable for a RtfDocument. @since 2.1.3

public RtfTable(RtfDocument doc, PdfPTable table)

Parameters

doc RtfDocument

The RtfDocument this RtfTable belongs to

table PdfPTable

The PdfPTable that this RtfTable wraps

Methods

GetAlignment()

Gets the alignment of this RtfTable

protected int GetAlignment()

Returns

int

The alignment of this RtfTable.

GetBorders()

Gets the borders of this RtfTable

protected RtfBorderGroup GetBorders()

Returns

RtfBorderGroup

The borders of this RtfTable.

GetCellPadding()

Gets the cell padding of this RtfTable

protected float GetCellPadding()

Returns

float

The cell padding of this RtfTable.

GetCellSpacing()

Gets the cell spacing of this RtfTable

protected float GetCellSpacing()

Returns

float

The cell spacing of this RtfTable.

GetCellsFitToPage()

Gets the cellsFitToPage setting of this RtfTable.

protected bool GetCellsFitToPage()

Returns

bool

The cellsFitToPage setting of this RtfTable.

GetHeaderRows()

Gets the number of header rows of this RtfTable

protected int GetHeaderRows()

Returns

int

The number of header rows

GetProportionalWidths()

Gets the proportional cell widths of this RtfTable

protected float[] GetProportionalWidths()

Returns

float[]

The proportional widths of this RtfTable.

GetRows()

Gets the rows of this RtfTable

protected IList<RtfElement> GetRows()

Returns

IList<RtfElement>

The rows of this RtfTable

GetTableFitToPage()

Gets the tableFitToPage setting of this RtfTable.

protected bool GetTableFitToPage()

Returns

bool

The tableFitToPage setting of this RtfTable.

GetTableWidthPercent()

Gets the percentage of the page width this RtfTable covers

protected float GetTableWidthPercent()

Returns

float

The percentage of the page width.

WriteContent(Stream)

Writes the content of this RtfTable

public override void WriteContent(Stream outp)

Parameters

outp Stream