PDFViewerComponent
Represents the Kendo UI PDFViewer component for Angular.
Selector
kendo-pdfviewer
Export Name
Accessible in templates as #kendoPDFViewerInstance="kendo-pdfviewer"
Inputs
Name | Type | Default | Description |
---|---|---|---|
arrayBuffer |
|
Represents the raw binary data buffer of the PDF file. | |
data |
|
Represents the data of the PDF file in Base64 format. | |
loaderSettings |
|
|
The configuration of the internal Loader component. |
maxZoom |
|
|
Represents maximum allowed zoom value. |
minZoom |
|
|
Represents minimum allowed zoom value. |
saveFileName |
|
|
The name of the file that will be saved when the end user clicks the Download tool. |
saveOptions |
|
|
Represents the options for saving the file when the end user clicks the Download tool. |
tools |
|
|
Represents the tools collection rendered in the toolbar. |
typedArray |
|
Represents the data of the PDF file in | |
url |
|
Represents the url of the PDF file. | |
zoom |
|
|
The initial zoom level of the PDF document (see example). |
zoomRate |
|
|
Represents the step the zoom level will be changed with when using the ZoomIn and ZoomOut tools. |
Fields
Name | Type | Default | Description |
---|---|---|---|
currentPage |
|
Returns the current page number of the loaded PDF document. | |
pdfContext |
|
Exposes the currently loaded |
Events
Name | Type | Description |
---|---|---|
download |
|
The event fired when an error occurs during the loading of the PDF document. |
error |
|
The event fired when an error occurs during the loading or downloading of the PDF document. |
load |
|
The event fired when a PDF document is successfully loaded in the |
pageChange |
|
The event fired when the end user changes the page of the loaded PDF document. |
zoomLevelChange |
|
The event fired when the end user changes the zoom level of the loaded PDF document. |
Methods
scrollToPage | ||||||
---|---|---|---|---|---|---|
Scrolls the PDFViewer document to the specified page number, treating 0 as the first page (see example). | ||||||
|