# PDFViewerPdfjsProcessingFileSettingsBuilder

## Methods

### Url(System.String)

Specifies the url of the file.

#### Parameters

##### value - `System.String`

The url that points the file.

#### RETURNS

A reference to this [PDFViewerPdfjsProcessingFileSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewerpdfjsprocessingfilesettingsbuilder) instance after the call has completed.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .PdfjsProcessing(pdf => pdf
                    .File(file => file
                        .Url("https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf")
                    )
                )
             )
             
```

### Data(System.Object)

Specifies the file's data. Accepts blob, byte array or base64 string.

#### Parameters

##### value - `System.Object`

The data that corresponds to the file.

#### RETURNS

A reference to this [PDFViewerPdfjsProcessingFileSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewerpdfjsprocessingfilesettingsbuilder) instance after the call has completed.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .PdfjsProcessing(pdf => pdf
                    .File(file => file.Data(byteArray))
                )
             )
             
```

### CMapUrl(System.String)

Specifies the URL where the predefined Adobe CMaps are located.

#### Parameters

##### value - `System.String`

The CMap URL.

#### RETURNS

A reference to this [PDFViewerPdfjsProcessingFileSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewerpdfjsprocessingfilesettingsbuilder) instance after the call has completed.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .PdfjsProcessing(pdf => pdf
                    .File(file => file.CMapUrl("https:XXXX"))
                )
             )
             
```

### CMapPacked(System.Boolean)

Specifies if the Adobe CMaps are binary packed.

#### Parameters

##### value - `System.Boolean`

The CMapPacked.

#### RETURNS

A reference to this [PDFViewerPdfjsProcessingFileSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pdfviewerpdfjsprocessingfilesettingsbuilder) instance after the call has completed.

#### Example

```
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .PdfjsProcessing(pdf => pdf
                    .File(file => file.CMapPacked(true))
                )
             )
             
```
