Last Updated: 28 Jun 2023 10:12 by ADMIN
Created on: 21 Jun 2023 15:37
Category: PDFViewer
Type: Feature Request
Add an option to set zoom in the PdfViewer

Currently, default zoom can be set through JavaScript in the Render event handler of the PDFViewer:

Attach the handler:

.Events(e => e.Render("onRender"))

The event handler:

    var firstRender = true;

    function onRender(e) {
        if (firstRender) {
            var combobox = e.sender.toolbar.element.find("[data-command=ZoomCommand][data-role=combobox]").data("kendoComboBox");
            firstRender = false;

A better solution would be a dedicated configuration option that allows setting the default zoom when declaring the PDFViewer.

1 comment
Ivan Danchev
Posted on: 28 Jun 2023 10:12

Hello Mugurel,

Thank you for submitting this feature request.

We will track the votes and monitor the community's interest in adding a zoom option to the PDFViewer.

Ivan Danchev
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.