\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();
$cMapPacked = true;
$file->cMapPacked($cMapPacked);
$pdfjsProcessing->file($file);
?>

Example - using array

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