I am using Aspose.PDF, Version=20.4.0.0
i have created a table with 5 columns and i need to set column width of each cells .
code snip
Aspose.Pdf.Table table = new Aspose.Pdf.Table();
Aspose.Pdf.Row row = table.Rows.Add();
row.MinRowHeight = 40;
TextState textState = new TextState
{
Font = FontRepository.FindFont(fontName),
FontSize = fontsize
}
foreach (var item in docSplit)
{
row.Cells.Add(item, textState);
}
image.png (334 Bytes)