defaultPageSize.heightNumber(default: 1123)
Specifies the default height in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.
Example
<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
defaultPageSize: {
height: 900
},
pdfjsProcessing: {
file: {
url: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
}
}
});
</script>
In this article