将第9个表添加到pdf之后。我试着添加第10个表,但无法添加
我只能在下面加上
col101 = new PdfPCell(new Phrase(" ", ArialFont.ARIAL10));
col101.setColspan(10);
col101.setRowspan(6);
col101.setHorizontalAlignment(Element.ALIGN_LEFT);
table_10.addCell(col101);
col102 = new PdfPCell(new Phrase(" ", ArialFont.ARIAL10));
col102.setColspan(10);
col102.setRowspan(6);
col102.setHorizontalAlignment(Element.ALIGN_LEFT);
table_10.addCell(col102);
但我需要如下。但当我编码如下它是不工作的。
col101 = new PdfPCell(new Phrase(" ", ArialFont.ARIAL10));
col101.setColspan(21);
col101.setRowspan(6);
col101.setHorizontalAlignment(Element.ALIGN_LEFT);
table_10.addCell(col101);
暂无答案!
目前还没有任何答案,快来回答吧!