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

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .PdfjsProcessing(pdf => pdf
                    .File(Url.Content("~/Content/web/pdfViewer/sample.pdf"))
                )
             )
             
In this article
MethodsFile(System.Action)File(System.String)
Not finding the help you need?
Contact Support