Added setMarginTop at 20 to Header Image
This commit is contained in:
parent
53928f751c
commit
0927f72eab
|
@ -232,8 +232,10 @@ public class Geoportal_PDF_Exporter {
|
|||
if (pdfExporterConfigs != null && pdfExporterConfigs.getCredits() != null) {
|
||||
Image image = toImageFromLink(pdfExporterConfigs.getCredits().getHeader(), 80);
|
||||
if (image != null) {
|
||||
|
||||
image.setFixedPosition(document.getLeftMargin(),
|
||||
pdfDocument.getDefaultPageSize().getHeight() - image.getImageHeight() + 90);
|
||||
(pdfDocument.getDefaultPageSize().getHeight() - image.getImageHeight()) + 90);
|
||||
image.setMarginTop(20);
|
||||
document.add(image);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue