Class SimpleTable
- Namespace
- iTextSharp.text
- Assembly
- iTextSharp.LGPLv2.Core.dll
Summary description for SimpleTable.
public class SimpleTable : Rectangle, IPdfPTableEvent, ITextElementArray, IElement
- Inheritance
-
SimpleTable
- Implements
- Inherited Members
Constructors
SimpleTable()
A RectangleCell is always constructed without any dimensions. Dimensions are defined after creation.
public SimpleTable()
Properties
Alignment
public int Alignment { get; set; }
Property Value
- int
Returns the alignment.
Cellpadding
public float Cellpadding { get; set; }
Property Value
- float
Returns the cellpadding.
Cellspacing
public float Cellspacing { get; set; }
Property Value
- float
Returns the cellspacing.
Type
@see com.lowagie.text.Element#type()
public override int Type { get; }
Property Value
Width
public override float Width { get; set; }
Property Value
- float
Returns the width.
Widthpercentage
public float Widthpercentage { get; set; }
Property Value
- float
Returns the widthpercentage.
Methods
Add(IElement)
@see com.lowagie.text.TextElementArray#add(java.lang.Object)
public bool Add(IElement o)
Parameters
o
IElement
Returns
AddElement(SimpleCell)
Adds content to this object. @throws BadElementException
public void AddElement(SimpleCell element)
Parameters
element
SimpleCell
CreatePdfPTable()
Creates a PdfPTable object based on this TableAttributes object. @throws DocumentException
public PdfPTable CreatePdfPTable()
Returns
- PdfPTable
a com.lowagie.text.pdf.PdfPTable object
CreateTable()
Creates a Table object based on this TableAttributes object. @throws BadElementException
public Table CreateTable()
Returns
- Table
a com.lowagie.text.Table object
IsNestable()
@see com.lowagie.text.Element#isNestable() @since iText 2.0.8
public override bool IsNestable()
Returns
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)