PDFViewerDplProcessingSettingsBuilder
Methods
Read(System.Action)
Specifies the configuration of the jQuery.ajax to make an HTTP request to the remote service.
Parameters
configurator - System.Action<PDFViewerDplProcessingReadSettingsBuilder>
The configurator for the read setting.
RETURNS
Returns the current instance of PDFViewerDplProcessingSettingsBuilder .
Upload(System.Action)
Specifies the configuration of the jQuery.ajax to make an HTTP POST request to the remote service.
Parameters
configurator - System.Action<PDFViewerDplProcessingUploadSettingsBuilder>
The configurator for the upload setting.
RETURNS
Returns the current instance of PDFViewerDplProcessingSettingsBuilder .
Download(System.Action)
Specifies the download configuration.
Parameters
configurator - System.Action<PDFViewerDplProcessingDownloadSettingsBuilder>
The configurator for the download setting.
RETURNS
Returns the current instance of PDFViewerDplProcessingSettingsBuilder .
LoadOnDemand(System.Boolean)
Specifies whether read requests should be sent for each page. Note that on the server the pageField should be nullable.
Parameters
value - System.Boolean
The value for LoadOnDemand
RETURNS
Returns the current PDFViewerDplProcessingSettingsBuilder instance.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.LoadOnDemand(true);
})
)
LoadOnDemand()
Specifies whether read requests should be sent for each page. Note that on the server the pageField should be nullable.
RETURNS
Returns the current PDFViewerDplProcessingSettingsBuilder instance.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.LoadOnDemand(true);
})
)