# Getting Started with Kendo UI for Vue PDF Processing

The Kendo UI for Vue PDF Processing enables you to export single- and multi-page content in PDF and provides options such as embedding images, exporting hidden content, setting the margins of the document and styling the output.

To export pages and page sections to PDF files, use either:

* The [`PDFExport`](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/pdfexportprops) component, or
* The [`savePDF`](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/savepdf) method.

To export content to PDF with the [`PDFExport`](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/pdfexportprops) component:

1. Place the content inside it.
2. Call the [`save`](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/pdfexportprops) method of the component to save the generated file.

To export content to PDF with the [`savePDF`](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/savepdf) method:

1. Call the method.
2. Pass the content as its argument.

The PDF Processing feature is part of the Kendo UI for Vue library of Vue UI components. It is distributed through NPM under the [kendo-vue-pdf package](https://www.npmjs.com/package/@progress/kendo-vue-pdf).

<CtaPanelOverview></CtaPanelOverview>

## Basic Usage

The following example demonstrates the PDF Processing export components in action.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/pdf/get-started/source.txt)

## Functionality and Features

* [Embedding images](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/image-resolution)
* [Disabling hyperlinks](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/hyperlinks)
* [Scaling the exported content](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/content-scaling)
* [Configuring the margins of the exported content](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/setting-margin)
* [Rendering repeated table headers](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/table-headers)
* [Rendering multi-page content](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/multipage-content)
* [Hiding extra content](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/hidden-content)
* [Creating Base64 strings](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/base64string)
* [Styling of the exported content](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/content-styling)

Refer to the [Drawing library](https://www.telerik.com/kendo-vue-ui-develop/components/drawing) documentation for more information on:

* [Rendering dimensions and CSS units](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/pdf-output/configuration#dimensions-and-css-units)
* [Embedding fonts](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/pdf-output/embedded-fonts)
* [Exporting Unicode characters](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/pdf-output/embedded-fonts)

## Installation

1. Download and install the package. Use Node.js v5.0.0 or later.

   ```sh
   npm install --save @progress/kendo-vue-pdf @progress/kendo-drawing @progress/kendo-licensing
   ```

2. Once installed, import the package module.

   ```jsx
    // ES2015 module syntax
    import { PDFExport, savePDF } from '@progress/kendo-vue-pdf';
   ```

   ```jsx
   // CommonJS format
   const { PDFExport, savePDF } = require('@progress/kendo-vue-pdf');
   ```

3. Follow the instructions on the Kendo UI for Vue [My License page](https://www.telerik.com/kendo-vue-ui-develop/components/my-license) to activate your license. You can skip this step if your application already contains a Kendo UI for Vue license file.

## Suggested Links

* [API Reference of the PDF Processing Component](https://www.telerik.com/kendo-vue-ui-develop/components/pdf-processing/api/pdfexportprops)
* [Limitations and Browser Support for the PDF Processing Component and the Drawing Library](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/limitations-browser-support)
