Table of Contents

Class PdfCell

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

A PdfCell is the PDF translation of a Cell . A PdfCell is an ArrayList of PdfLine s. @see iTextSharp.text.Rectangle @see iTextSharp.text.Cell @see PdfLine @see PdfTable

public class PdfCell : Rectangle, IElement
Inheritance
PdfCell
Implements
Inherited Members

Constructors

PdfCell(Cell, int, float, float, float, float, float)

constructors

public PdfCell(Cell cell, int rownumber, float left, float right, float top, float cellspacing, float cellpadding)

Parameters

cell Cell

the original Cell

rownumber int

the number of the Row the Cell was in.

left float

the left border of the PdfCell

right float

the right border of the PdfCell

top float

the top border of the PdfCell

cellspacing float

the cellspacing of the Table

cellpadding float

the cellpadding of the Table

Properties

Bottom

public override float Bottom { get; set; }

Property Value

float

Cellpadding

membervariables

public float Cellpadding { get; }

Property Value

float

Cellspacing

This is the cellspacing of the cell.

public float Cellspacing { get; }

Property Value

float

GroupNumber

This is the number of the group the cell is in.

public int GroupNumber { get; set; }

Property Value

int

Leading

This is the leading of the lines.

public float Leading { get; }

Property Value

float

Left

public override float Left { get; }

Property Value

float

RemainingHeight

public float RemainingHeight { get; }

Property Value

float

Right

public override float Right { get; }

Property Value

float

Rownumber

This is the number of the row the cell is in.

public int Rownumber { get; }

Property Value

int

Rowspan

This is the rowspan of the cell.

public int Rowspan { get; }

Property Value

int

Size

public int Size { get; }

Property Value

int

Top

public override float Top { get; }

Property Value

float

UseAscender

Gets the value of {@link #useAscender}

public bool UseAscender { get; set; }

Property Value

bool

useAscender

UseBorderPadding

Sets the value of {@link #useBorderPadding}.

public bool UseBorderPadding { get; set; }

Property Value

bool

UseDescender

Gets the value of {@link #useDescender}

public bool UseDescender { get; set; }

Property Value

bool

useDescender

Methods

GetImages(float, float)

public IList<Image> GetImages(float top, float bottom)

Parameters

top float
bottom float

Returns

IList<Image>

GetLines(float, float)

public IList<PdfLine> GetLines(float top, float bottom)

Parameters

top float
bottom float

Returns

IList<PdfLine>

ProcessActions(IElement, PdfAction, IList<PdfAction>)

protected static void ProcessActions(IElement element, PdfAction action, IList<PdfAction> allActions)

Parameters

element IElement
action PdfAction
allActions IList<PdfAction>

Rectangle(float, float)

public Rectangle Rectangle(float top, float bottom)

Parameters

top float
bottom float

Returns

Rectangle