Beispiel #1
0
        private static void AddRowWithText(SimpleDocumentRenderer printer, string text1, string text2, string text3)
        {
            Row row = new Row();

            printer.AddRow(row);

            TextCell c1 = new TextCell(text1, MyFonts.Consolas10);

            row.AddCell(c1);
            TextCell c2 = row.AddTextCell(text2, MyFonts.Consolas10);
            TextCell c3 = row.AddTextCell(text3, MyFonts.Consolas10);

            c1.Width = 200;
            c2.Width = 200;
            c3.Width = 200;
        }