Enable zooming at desktop for Custom Horizontal Display Mode

22 views
Skip to first unread message

Cisintest21 technical

unread,
Oct 31, 2017, 11:49:16 AM10/31/17
to PDFTron WebViewer
Hello guys,

can you please let me know how to enable zooming at desktop for Custom Horizontal Display Mode

This is link for horizontal mode.
https://www.pdftron.com/webviewer/demo/samples/display-mode/index.html?doctype=xod

https://www.pdftron.com/webviewer/demo/config.html#file=samples/display-mode/config.js?doctype=xod

Thanks 


Justin Jung

unread,
Oct 31, 2017, 7:15:18 PM10/31/17
to PDFTron WebViewer on behalf of Cisintest21 technical
Hello,

The zooming buttons are just hidden in the config file.
You can edit the config file as follows:

// change from this
$('.drop-content').hide().prev().hide();
// to this
$('.drop-content').hide();

Justin Jung
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages