Hello, I’m using aspose-cells 7.2.1, I’m trying add image to first page footer.
My code is:
WorksheetCollection worksheets = workbook.getWorksheets();
for (int i = 0; i < worksheets.getCount(); i++) {
Worksheet sheet = worksheets.get(i);
com.aspose.cells.PageSetup pageSetup = sheet.getPageSetup();
pageSetup.setFirstPageFooter(ParagraphAlignment.RIGHT, “&G”);
pageSetup.setFooterPicture(ParagraphAlignment.RIGHT, bytes);
}
}
But image attached to all printed pages instead of first.
What I’m doing wrong?
Thanks in advance!
Vladimir