private void AddETK(TableCellBuilder cellBuilder) { cellBuilder .SetFont(FNT9) .AddParagraphToCell("ETK: " + TicketData.ETK); var paragraphBuilder = cellBuilder.AddParagraph("Reg No: " + TicketData.RegNo); paragraphBuilder.SetMarginBottom(4); }
private void AddDescriptionToCell(TableCellBuilder cellBuilder, string[] text) { cellBuilder .SetFont(FNT7_2) .SetBorderStroke(Stroke.None, Stroke.None, Stroke.None, Stroke.Dotted) .SetBorderColor(Color.Black); foreach (string item in text) { cellBuilder.AddParagraphToCell(item); } }
private void AddWithdrawalsDescriptionToCell(TableCellBuilder cellBuilder, string[] text) { cellBuilder .SetFont(FNT7_2) .SetBorderStroke(Stroke.None, Stroke.None, Stroke.None, Stroke.None); foreach (string item in text) { ParagraphBuilder paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder.AddText(item); } }