PDFViewerTagHelper

Example

Razor
<kendo-pdfviewer>
    <default-page-size />
    <dpl-processing></dpl-processing>
    <messages />
    <pdfjs-processing />
    <toolbar></toolbar>
    <view />
</kendo-pdfviewer>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
has-client-componentBoolean
on-errorStringFires 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-openStringFires when a PDF is opened in the viewer.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
heightDoubleThe height of the PDFViewer.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
documentStringThe client-side global variable or function to provide the JSON data for the PDF document.
on-renderStringFires when a page is rendered
pageDoubleThe selected page number in the viewer.
sanitize-idBoolean
scaleDoubleSpecifies the default scale of the pages.
script-attributesIDictionary<String,Object>
widthDoubleThe width of the PDFViewer.
zoom-maxDoubleSpecifies the maximum zoom that could be applied to the pages.
zoom-minDoubleSpecifies the minimum zoom that could be applied to the pages.
zoom-rateDoubleSpecifies 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
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support