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:
<script>
var firstRender = true;
function onRender(e) {
if (firstRender) {
var combobox = e.sender.toolbar.element.find("[data-command=ZoomCommand][data-role=combobox]").data("kendoComboBox");
combobox.value("fitToWidth");
combobox.trigger("change");
firstRender = false;
}
}
</script>
A better solution would be a dedicated configuration option that allows setting the default zoom when declaring the PDFViewer.
Currently, the search in PDF Viewer is performed on every keypress in the search input field.
The search performance of the widget could be improved if there is a possibility to perform a search on pressing "Enter". Another valuable enhancement could be a configuration that allows the search to be performed after entering a certain number of symbols.
Hi,
i tested the updated pdfviewer of version 2019.3.1023, but it did not work as expected.
I have some questions about usage und customizing
https://dojo.telerik.com/EmErekOB
Regards
Christian