private void FillCardNames(TableBuilder tableBuilder) { tableBuilder .SetWidth(XUnit.FromPercent(100)) .SetBorder(Stroke.None) .SetContentRowBorderWidth(0, 0, 0, 0); foreach (string cardName in ps.CardNames) { tableBuilder .AddColumnPercent("", 100 / ps.CardNames.Count); } ; var rowBuilder = tableBuilder.AddRow(); foreach (string cardName in ps.CardNames) { var cellBuilder = rowBuilder.AddCell().SetPadding(0, 0, 0, 8); cellBuilder.AddParagraph("o").SetFont(FNTZ16); cellBuilder.AddParagraph(cardName).SetFont(FNT10); } }