# Base64 Strings

To create a Base64 string, use the [`drawDOM`](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/api/drawdom) method from the [Kendo UI for Vue Drawing library](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/api) which creates the string based on a passed DOM element.

The following example demonstrates how to get the Base64 string that is generated during the PDF export of the Grid.

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

## Suggested Links

* [API Reference of the Drawing Library](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/api)
* [Export of Drawings in PDF](https://www.telerik.com/kendo-vue-ui-develop/components/drawing/pdf-output)
