\Kendo\UI\PDFViewerPdfjsProcessingFile

A PHP class representing the file setting of PDFViewerPdfjsProcessing.

Methods

cMapPacked

Specifies if the Adobe CMaps are binary packed. Further info in the PDF.js API ref.

Returns

\Kendo\UI\PDFViewerPdfjsProcessingFile

Parameters

$value boolean

Example

<?php
$file = new \Kendo\UI\PDFViewerPdfjsProcessingFile();
$file->cMapPacked(true);
?>

cMapUrl

Specifies the the URL where the predefined Adobe CMaps are located. Further info in the PDF.js API ref.

Returns

\Kendo\UI\PDFViewerPdfjsProcessingFile

Parameters

$value string

Example

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

data

Specifies the data to be passed to the pdfjs processor. Accepts blob, byte array or base64 string.

Returns

\Kendo\UI\PDFViewerPdfjsProcessingFile

Parameters

$value string

Example

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

url

Specifies the url to be passed to the pdfjs processor.

Returns

\Kendo\UI\PDFViewerPdfjsProcessingFile

Parameters

$value string

Example

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