Spacing between pages on the Cover Spacing Page

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version

Detailed description of issue
It is set for the PDF to be on ‘Cover Facing Page,’ but there is a small gap between the pages. Can they be merged? Because there is the same text on the PDF that goes from one page to another, it should be merged for easier reading.

Does your issue happen with every document, or just one?
All documents

Hey djordje.krstic97,

You can use:

instance.Core.documentViewer.setMargin(// margin)

Best regards,
Tyler Gordon

When I use instance.Core.documentViewer.setMargin(), the fit page is disturbed and NaN value is printed, making it impossible to view the file. Therefore, I have to click on a value, such as 100%, in order for the PDF file to appear. Why isn’t fit page working?

Please pass in a value to set the margin as (in pixels)

Best regards,