I'm using iTextSharp to create PDF's in my application. However I have to recreate a table, where I have to set the size to the one greatly reduced column. Here's the image that shows the size I want to set up the column:
Whentherestofthetablecreationisfine,Icannotreallysetthiswidth.
Code:
PdfPTabletable=newPdfPTable(2);table.WidthPercentage=82.0f;PdfPCellcell=newPdfPCell(newPhrase("Com a assinatura autógrafa, o signatário desta Auto-declaração garante ter cumprido estas condições:", fontetexto));
cell.PaddingBottom = 10f;
cell.PaddingTop = 10f;
cell.Colspan = 2;
cell.HorizontalAlignment = 1; //0=Left, 1=Centre, 2=Right
table.AddCell(cell);
table.AddCell("1. ");
table.AddCell("Os óleos e gorduras vegetais velhos fornecidos são biomassa conforme o Decreto de biomassa.");