Hello,
Thanks for your inquiry and sorry for the late reply as weekend.
Please note that by default, the PDF created by our Spire.PDF has margins. Please set the page margin to 0 like the following code to achieve your needs.
- Code: Select all
PdfDocument doc = new PdfDocument();
PdfPageBase page = doc.Pages.Add( new SizeF(), new PdfMargins(0,0,0,0));
If there are still any problems, please provide your complete test code and your expected results, then we will do further investigation.
Sincerely,
Brian
E-iceblue support team