public PdfPCell(Image image, bool fit)
: base(0, 0, 0, 0)
{
borderWidth = 0.5f;
border = BOX;
column.SetLeading(0, 1);
if (fit) {
this.image = image;
Padding = borderWidth / 2;
}
else {
column.AddText(this.phrase = new Phrase(new Chunk(image, 0, 0, true)));
Padding = 0;
}
}