PDFViewerPdfjsProcessingSettingsBuilder
Methods
RenderForms(System.Boolean)
Enables form filling capabilities by rendering widgets such as: TextBox; CheckBox; DropDown; RadioButton or Button.
Parameters
value - System.Boolean
The value that configures the renderforms.
RenderForms()
Enables form filling capabilities by rendering widgets such as: TextBox; CheckBox; DropDown; RadioButton or Button.
File(System.Action)
Specifies the default file to be displayed.
Parameters
configurator - System.Action<PDFViewerPdfjsProcessingFileSettingsBuilder>
The action that configures the file.
File(System.String)
Specifies the string path to the file.
Parameters
url - System.String
The path to the file.
Example
Razor
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.PdfjsProcessing(pdf => pdf
.File(Url.Content("~/Content/web/pdfViewer/sample.pdf"))
)
)