如何避免文档文本和标题重叠?
问问题
216 次
1 回答
1
您必须为文档设置边距,以考虑页眉使用的空间。看看这个例子。特别是,您对此Document 构造函数感兴趣:
Document doc = new Document(Rectangle pageSize,
float marginLeft,
float marginRight,
float marginTop, // <-- you want to play with this paramater
float marginBottom)
于 2012-06-27T10:13:08.057 回答