Kendo.Mvc.UI.PDFViewer
Kendo UI PDFViewer component
Properties
PdfjsProcessing
Specifies the PDF.JS configuration options. Including pdfjs is mandatory.
DplProcessing
Specifies the DPL configuration options.
Width
The width of the PDFViewer.
Height
The height of the PDFViewer.
DefaultPageSize
Specifies the default page size if no PDF is displayed in the PDFViewer. The page size will shrink to fit the viewer dimensions.
Page
The selected page number in the viewer.
Scale
Specifies the default scale of the pages.
ZoomMin
Specifies the minimum zoom that could be applied to the pages.
ZoomMax
Specifies the maximum zoom that could be applied to the pages.
ZoomRate
Specifies the zoom rate that could be applied to the pages. Used when zooming on mousewheel and for the zoomIn and zoomOut tools.
View
Defines the page surface options. This setting is available only for DPL Processing. The page render a drawing Surface and all of its configuration options could be defined.
Toolbar
Toolbar option accepts a Boolean value which indicates if the toolbar will be displayed or an Object with items. Inherits Kendo UI Toolbar.
Messages
Specifies the localization messages of the PDFViewer.
Document
The client-side global variable or function to provide the JSON data for the PDF document.
Methods
WriteHtml(System.IO.TextWriter)
Writes the HTML.
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer System.IO.TextWriter
The TextWriter.
SerializeSettings
Serialize current instance to Dictionary