#1 2016-01-20 16:17:02

jar
Member
Registered: 2013-08-08

How to set a PDF default to automatic zoom

Hello,

I have a BIRT report in ReportServer and I would like to open it in PDF with the zoom default on automatic. Is is now fitting to page which on a 1920*1080 screen results in very large letters and numbers. Any way to have this default to automatic or 125%.

Thanks,
Jeroen

Offline

#2 2016-01-21 06:15:11

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: How to set a PDF default to automatic zoom

Hi Jeroen,

take a look at the file (within Tomcat's ReportServer folder)

resources/pdf.js/viewer.js

There you should find the property

var kDefaultScale = 'page-width';

in line 20, which hopefully controls the default scale (I haven't tested it).

Cheers
-Arno

Offline

#3 2016-01-21 13:30:13

jar
Member
Registered: 2013-08-08

Re: How to set a PDF default to automatic zoom

Hello Arno,

Thanks for your quick answer.
Setting it to 'auto' made it open with automatic zoom.

Jeroen

Offline

Board footer

Powered by FluxBB