Kendo.Mvc.UI.PDFViewer

Kendo UI PDFViewer component

Fields

urlGenerator

The URL generator.

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.

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

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?