PDFViewer

Properties

PdfjsProcessing - PDFViewerPdfjsProcessingSettings

Specifies the default file to be displayed.

DplProcessing - PDFViewerDplProcessingSettings

Specifies the configuration of the jQuery.ajax to make an HTTP request to the remote service.

Width - Nullable

Height - Nullable

DefaultPageSize - PDFViewerDefaultPageSizeSettings

Specifies the default width in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.

Page - Nullable

Scale - Nullable

ZoomMin - Nullable

ZoomMax - Nullable

ZoomRate - Nullable

View - PDFViewerViewSettings

Defines the surface type. It accepts canvas or svg. This option is supported only for DPL.

Toolbar - PDFViewerToolbarSettings

When this option is set to true, the toolbar will render a dropdown button as its first item. The dropdown will contain the open, download and print tools instead of them being rendered on the right-side of the toolbar.

Messages - PDFViewerMessagesSettings

Specifies the default file name used for Download.

Document - ClientHandlerDescriptor

A Razor template delegate.

Events - IDictionary

Id - String

SanitezeId - Boolean

Writer - IJavaScriptWriter

Initializer - IJavaScriptInitializer

IsInClientTemplate - Boolean

IsSelfInitialized - Boolean

HasDeferredInitialization - Boolean

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

HtmlHelper - IHtmlHelper

ModelMetadataProvider - IModelMetadataProvider

Name - String

Explorer - ModelExplorer

Selector - String

IdPrefix - String

ViewContext - ViewContext

ValueProvider - IValueProvider

UrlGenerator - IUrlGenerator

HtmlEncoder - HtmlEncoder

HasClientComponent - Boolean

UseMvvmInitialization - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer - System.IO.TextWriter

The System.IO.TextWriter.

Serialize()

Serializes the component settings to a dictionary.

RETURNS

A dictionary of settings.

Render()

Renders the component.

ToClientTemplate()

ToClientTemplate method.

ToHtmlString()

ToHtmlString method.

RETURNS

The result.

VerifySettings()

VerifySettings method.

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

DeferStyles method.

ProcessSettings()

ProcessSettings method.

GetHtml(System.Boolean)

GetHtml method.

Parameters

includeScript - System.Boolean

RETURNS

The result.

GetInitializator()

GetInitializator method.

RETURNS

The result.

WriteDeferredScriptInitialization()

WriteDeferredScriptInitialization method.