PDFViewer
Properties
PdfjsProcessing - PDFViewerPdfjsProcessingSettings
Enables form filling capabilities by rendering widgets such as: TextBox; CheckBox; DropDown; RadioButton or Button.
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
Specifies the type of toolbar item to be rendered. Supported types include button, separator, spacer, splitButton, buttonGroup, and template as defined by the ToolBar component.
Messages - PDFViewerMessagesSettings
Specifies the default file name used for Download.
Document - ClientHandlerDescriptor
A Razor template delegate.
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.