\Kendo\UI\PDFViewerPdfjsProcessing

A PHP class representing the pdfjsProcessing setting of PDFViewer.

Methods

file

Specifies the default file to be displayed.

Returns

\Kendo\UI\PDFViewerPdfjsProcessing

Parameters

$value string|\Kendo\UI\PDFViewerPdfjsProcessingFile|array

Example - using string

<?php
$pdfjsProcessing = new \Kendo\UI\PDFViewerPdfjsProcessing();
$pdfjsProcessing->file('value');
?>

Example - using \Kendo\UI\PDFViewerPdfjsProcessingFile

<?php
$pdfjsProcessing = new \Kendo\UI\PDFViewerPdfjsProcessing();
$file = new \Kendo\UI\PDFViewerPdfjsProcessingFile();
$data = 'value';
$file->data($data);
$pdfjsProcessing->file($file);
?>

Example - using array

<?php
$pdfjsProcessing = new \Kendo\UI\PDFViewerPdfjsProcessing();
$data = 'value';
$pdfjsProcessing->file(array('data' => $data));
?>
In this article
Not finding the help you need?