ドキュメントテキストとヘッダーの重複を回避するにはどうすればよいですか?
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 に答える