我有一个有3列的表,它有大约10行。但是我想要做的是在特定行之后跳过一行。在特定行后跳过一个额外的行
这是我的代码;
Paragraph paragraphTable3 = new Paragraph();
paragraphTable3.SpacingBefore = 20f;
paragraphTable3.SpacingAfter = 10f;
PdfPTable third_table = new PdfPTable(3);
third_table.TotalWidth = 560f;
third_table.LockedWidth = true;
third_table.SetWidths(new float[] { 2.4f,0.1f, 6.6f });
third_table.AddCell(new PdfPCell(new Phrase("Responsibilities Held ", other)) { BorderWidth = 0 });
third_table.AddCell(new PdfPCell(new Phrase(": ", other)) { BorderWidth = 0 });
third_table.AddCell(new PdfPCell(new Phrase(Responsibilities_held, other)) { BorderWidth = 0 });
third_table.AddCell(new PdfPCell(new Phrase("Description of Work Done", other)) { BorderWidth = 0 });
third_table.AddCell(new PdfPCell(new Phrase(": ", other)) { BorderWidth = 0 });
third_table.AddCell(new PdfPCell(new Phrase(Description_of_work_done, other)) { BorderWidth = 0 });
我得到这样的输出;
Responsibilities Held : Blah bluh bluh bluh bluh ............................
bluh ..........bluh ...
Description of Work Done : Blu....................................h..............
bluh.........................
Present Address : Blu....................................h..............
bluh.........................Extra space after here
Additional Qualifications : Blu....................................h..............
bluh.........................
我想以后现住址,以增加额外的空间
请帮我.... 谢谢
@DKKoch避免编辑会改变含义。插入只是跳过。 – SimpleVar 2015-02-11 06:27:39
如果您希望我们能够了解您的情况,您必须告诉我们您的期望和目前正在获得的信息。 – SimpleVar 2015-02-11 06:28:36
我是这样得出来的; – 2015-02-11 06:45:53