I am trying to place an image as the footer of each page, I can move the footer closer to the bottom of the page using:
doc.DefaultPageSetup.FooterDistance = "0cm"
But I cannot seem to find a way to allow a shorter distance from the sides of the page. Is there a way to do this or some kind of "trick" to achieve this.
The only way I can find is by removing the page setup margins, but I need them to hold the page together.
Does anyone know a way around this or some setting I am missing?
You can add a TextFrame to the footer (AddTextFrame()
) and assign an absolute position to this textframe.
See also:
http://forum.pdfsharp.net/viewtopic.php?p=6928#p6928
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With