Hi Svein,
Thank you for your
interest in Syncfusion products.
I was able to see that the
page appears without margin. This is because, while importing the document, the
margins are set to 0. To solve it, please add a new section before creating a
page. This will retain the margin. Following is the code snippet:
PdfSection section = document.Sections.Add();
PdfPage page = document.Pages.Add();
Please try this and let us
know if you have any questions.
Regards
Geetha