Hello,
I am experiencing an issue where adding a new header/footer to a newly added page is not placing the header in the correct position.
Below is the loop that is being run immediately after the new page has been added using Document.Pages.Add()
Dim Header As HeaderFooter = OpenDOcument.Pages().First.Header
Dim Footer As HeaderFooter = OpenDOcument.Pages().First.Footer
For Each pdfPage As Page In OpenDOcument.Pages
If Not IsNothing(Header) Then
If IsNothing(pdfPage.Header) Then
pdfPage.Header = Header
End If
End If
If Not IsNothing(Footer) Then
If IsNothing(pdfPage.Footer) Then
pdfPage.Footer = Footer
End If
End If
Next
The Header and Footers are being added but they are all offset too high so I can not see the Header and the footer is too far up the page.