margin offset

I am using blink html converter to save an HTML source as PDF file.

Even thoug I set all margins to zero, the created PDF keeps an offset on top and left margin

Image_1167_1698419756954

while works fine for right and bottom margin:

Image_5579_1698419969592

For top margin I get the desired result if I set a negative margin, but if I try doing the same for left margin the program crashes with error could not find valid signature (%pdf-).

In documentation I didn't find any properties to set to avoid this offset.


1 Reply

KS Karmegam Seerangan Syncfusion Team November 1, 2023 02:33 PM UTC

Hi Claudio,


We have checked the reported issue on our end, but it's working fine. However, we have attached the console sample and output document for your reference.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/HtmlToPDF_Margin1912638970

Output: https://www.syncfusion.com/downloads/support/directtrac/general/ze/HTML-to-PDF-1369211053


Kindly try the sample and let us know the result.


Regards,

Karmegam


Loader.
Up arrow icon