PDFViewerProps
Represents the props of the PDFViewer component.
Definition
Package:@progress/kendo-vue-pdf-viewer
Properties
arrayBuffer?
ArrayBuffer
Sets the PDF file to load as an ArrayBuffer.
content?
any
Sets a custom template for the content. The template receives the default content as defaultRendering.
data?
string
Sets the PDF file to load as a Base64-encoded string.
defaultZoom?
number
Sets the initial zoom level of the PDFViewer.
1.25
dir?
string
Sets the direction of the PDFViewer content. The available values are ltr and rtl.
loader?
any
Sets a custom template for the loader. The template receives the default loader as defaultRendering.
maxZoom?
number
Sets the maximum zoom level.
4
minZoom?
number
Sets the minimum zoom level.
0.5
saveFileName?
string
Sets the name of the file that the PDFViewer saves when you click Download.
saveOptions?
SaveOptions
Sets the options that the PDFViewer uses when it saves the file.
style?
Record<string, string>
Sets the inline styles of the PDFViewer.
toolbar?
any
Sets a custom template for the toolbar. The template receives the default toolbar as defaultRendering.
Sets the tools that the toolbar shows and their order.
['pager', 'spacer', 'zoomInOut', 'zoom', 'selection', 'spacer', 'search', 'open', 'download', 'print']
typedArray?
TypedArray
Sets the PDF file to load as a typed array, for example a Uint8Array.
url?
string
Sets the URL of the PDF file to load.
zoom?
number
Sets the zoom level of the PDFViewer. Use it to control the zoom level yourself.
zoomLevels?
{ id: number; priority: number; value: number; text: string; type: string; locationString?: string }[]
Sets the zoom levels that the zoom ComboBox shows. By default, the ComboBox shows Actual width, Fit to width, Fit to page, and levels from 50% to 400%.
zoomRate?
number
Sets the step that the Zoom In and Zoom Out buttons use to change the zoom level.
0.25