PDFViewer

Example

<kendo-pdfviewer>
    <dpl-processing></dpl-processing>
    <messages />
    <pdfjs-processing />
    <toolbar></toolbar>
    <view />
</kendo-pdfviewer>

ChildTags

Tag Name Details
dpl-processing PDFViewerDplProcessingSettingsTagHelper
messages PDFViewerMessagesSettingsTagHelper
pdfjs-processing PDFViewerPdfjsProcessingSettingsTagHelper
toolbar PDFViewerToolbarSettingsTagHelper
view PDFViewerViewSettingsTagHelper

Attributes

Attribute Type Description
name String Sets the name of the component.
as-child-component Boolean
has-client-component Boolean
height Double The height of the PDFViewer.
on-error String Fires when an error is encountered. By default, a dialog is shown with error message. The dialog will not be shown if the event is prevented.
on-open String Fires when a PDF is opened in the viewer.
deferred Boolean Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-template Boolean When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
document String The client-side global variable or function to provide the JSON data for the PDF document.
on-render String Fires when a page is rendered
page Double The selected page number in the viewer.
sanitize-id Boolean
scale Double Specifies the default scale of the pages.
width Double The width of the PDFViewer.
zoom-max Double Specifies the maximum zoom that could be applied to the pages.
zoom-min Double Specifies the minimum zoom that could be applied to the pages.
zoom-rate Double Specifies the zoom rate that could be applied to the pages. Used when zooming on mousewheel and for the zoomIn and zoomOut tools.
In this article
Not finding the help you need?