# Export Options

The Barcode and QR Code provide built-in support for Image, SVG, and PDF export.

You can send the export output to a remote service as a Base64-encoded string or save it on the client machine.

Similar to all KendoReact components, the Barcode and QR Code can also be included in PDF documents created by the [PDF Export](https://www.telerik.com/kendo-react-ui-develop/components/pdfprocessing) component.

The Barcodes support the following options:

* [Exporting to an image](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/export-options#exporting-to-images)
* [Exporting to the Scalable Vector Graphics (SVG) image format](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/export-options#exporting-to-svg)
* [Exporting to a drawing visual](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/export-options#exporting-to-drawing-visuals)
* [Exporting to the Portable Document Format (PDF)](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/export-options#exporting-to-pdf)

## Exporting to Images

The following example demonstrates how to save the Barcode as a PNG image by using the `Barcode` ref's [`exportImage`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/barcodehandle#exportimage) and the `QRCode` ref's [`exportImage`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/qrcodehandle#exportimage) methods.

[Demo Source](https://demos.telerik.com/kendo-react-ui/barcodes/export-options/to-image/func/source.txt)

## Exporting to SVG

The following example demonstrates how to save the Barcode and QR Code as an SVG file by using the `Barcode` ref's [`exportSVG`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/barcodehandle#exportsvg) and the `QRCode` ref's [`exportSVG`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/qrcodehandle#exportsvg) methods.

[Demo Source](https://demos.telerik.com/kendo-react-ui/barcodes/export-options/to-svg/func/source.txt)

## Exporting to Drawing Visuals

The `Barcode` ref's [`exportVisual`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/barcodehandle#exportvisual) and the `QRCode` ref's [`exportVisual`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/qrcodehandle#exportvisual) methods return a [Drawing](https://www.telerik.com/kendo-react-ui-develop/components/drawing) scene which you can further process.

The following example demonstrates how to export the Barcodes as a Drawing visual scene by using the `exportVisual` method.

[Demo Source](https://demos.telerik.com/kendo-react-ui/barcodes/export-options/to-visuals/func/source.txt)

## Exporting to PDF

The following example demonstrates how to save a section containing a Barcode and a QR Code as a PDF file by using the [PDF Export](https://www.telerik.com/kendo-react-ui-develop/components/pdfprocessing) component.

[Demo Source](https://demos.telerik.com/kendo-react-ui/barcodes/export-options/to-pdf/func/source.txt)

## Suggested Links

* [API Reference of the `Barcode`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/barcode)
* [API Reference of the `QRCode`](https://www.telerik.com/kendo-react-ui-develop/components/barcodes/api/qrcode)
