I want the width of my columns to be automatic, but I know this is not possible, so I try to use the MeasureString function without success.
Here is my code:
Document doc = new Document(PageSize.A4, 20, 20, 72, 72); doc.Open(); PdfPTable t=new PdfPTable(2);
I know that I need an object to install the MeasureString function MeasureString , but I donβt know which object.
c # itextsharp
Chani pos
source share