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
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
Messages - PDFViewerMessagesSettings
Specifies the default file name used for Download.
Document - String
Initializer - IJavaScriptInitializer
Events - IDictionary
Name - String
Id - String
ShouldSanitezeId - Boolean
ModelMetadata - ModelMetadata
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
ViewContext - ViewContext
ViewData - ViewDataDictionary
IsSelfInitialized - Boolean
IsInClientTemplate - Boolean
HasDeferredInitialization - Boolean
Selector - String
HasClientComponent - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer - System.IO.TextWriter
The System.IO.TextWriter.
Serialize()
Render()
Renders the component.
VerifySettings()
ToHtmlString()
GetHtml(System.Boolean)
Parameters
includeScript - System.Boolean
GetInitializator()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.