Table of Contents

Class PdfPTableEventForwarder

Namespace
iTextSharp.text.pdf.events
Assembly
iTextSharp.LGPLv2.Core.dll

If you want to add more than one page event to a PdfPTable, you have to construct a PdfPTableEventForwarder, add the different events to this object and add the forwarder to the PdfWriter.

public class PdfPTableEventForwarder : IPdfPTableEvent
Inheritance
PdfPTableEventForwarder
Implements
Inherited Members

Constructors

PdfPTableEventForwarder()

public PdfPTableEventForwarder()

Fields

Events

ArrayList containing all the PageEvents that have to be executed.

protected List<IPdfPTableEvent> Events

Field Value

List<IPdfPTableEvent>

Methods

AddTableEvent(IPdfPTableEvent)

Add a page event to the forwarder.

public void AddTableEvent(IPdfPTableEvent eventa)

Parameters

eventa IPdfPTableEvent

an event that has to be added to the forwarder.

TableLayout(PdfPTable, float[][], float[], int, int, PdfContentByte[])

@see com.lowagie.text.pdf.PdfPTableEvent#tableLayout(com.lowagie.text.pdf.PdfPTable, float[][], float[], int, int, com.lowagie.text.pdf.PdfContentByte[])

public void TableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)

Parameters

table PdfPTable
widths float[][]
heights float[]
headerRows int
rowStart int
canvases PdfContentByte[]