I know I can use PdfSharp to render a MigraDoc element but what I need to do is add elements to a manually created PdfDocument using MigraDoc (or something like this):
I have 2 methods, PrintHeader
and PrintFooter
. Both use Document
(migradoc) to add a Header/Footer to my page. This works fine because until now, I was using only MigraDoc to render the PDF file. But now I need to render inside my pdf a HTML fragment. The amazing HTMLRenderer allows me to get a PdfDocument from a HTML but I cannot use the nice MigraDoc positioning facilities on top of it... or can I?