【发布时间】:2013-04-17 01:54:55
【问题描述】:
以下内容应根据文档工作,但对我不起作用。我错过了什么吗?
PdfPTable rs1 = new PdfPTable(1);
PdfPCell c = new PdfPCell();
Paragraph p = new Paragraph("some text to align");
c.AddElement(p);
c.VerticalAlignment = Element.ALIGN_MIDDLE;
rs1.AddCell(c);
rs1.AddCell("more text");
return rs1;
【问题讨论】:
标签: itextsharp