I have some issues with images in headers and footers.
1) When i add an image to the header section, the image is not displayed when i open the generated document:
I add the image like this:
- Code: Select all
sheet.PageSetup.RightHeaderImage = ImageFactory.GetCompanyLogoSmall();
Can you reproduce this?
For you info: i am using the Spire.Office - pack, version 2.3.5.
2) When i add a rightFooter, the footer is not positioned on the right place. It is displayed over the centerfooter.
- Code: Select all
sheet.PageSetup.LeftFooter = DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss");
sheet.PageSetup.RightFooter = "&C&P/&N";
sheet.PageSetup.CenterFooter = "Test";
results in this document footer:
3) Next to that, i have a question about the header/footer parts:
Is it possible to set the style of a header or footer? I would like to set the font. Is that possible?
if you need any additional information: just ask!
Thanks in advance,
Johan