PDFViewerPdfjsProcessingSettingsBuilder
Methods
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
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.PdfjsProcessing(pdf => pdf
.File(Url.Content("~/shared/web/pdfViewer/sample.pdf"))
)
)