void PrintRigaTabella(ref Table table, ref TableRowGroup rowGroup, Riga dati) { TableRow row = new TableRow(); row.Background = Brushes.Transparent; row.FontSize = textSize; row.FontWeight = FontWeights.Normal; foreach (string str in dati.Valori()) { TableCell tc = new TableCell(new Paragraph(new Run(str))); tc.BorderBrush = Brushes.Black; tc.BorderThickness = new Thickness(0, 0, 0, 0.5); row.Cells.Add(tc); } rowGroup.Rows.Add(row); }