New to KendoReact? Start a free 30-day trial
Create a Base64 String During PDF Export
Updated on Sep 30, 2026
Environment
| Product | Progress® KendoReact PDF Processing |
|---|---|
| Product Version | 16.1.0 |
Description
How can I create a Base64 string from a PDF export using KendoReact Drawing?
This KB also answers the following questions:
- How do I get a PDF data URI from KendoReact Drawing?
- How can I extract PDF Base64 data before I upload it?
- How do I convert exported DOM content to a Base64 PDF payload?
Solution
Use drawDOM to create a Drawing group from the export content, then pass the group to exportPDF. The resolved PDF data URI contains the Base64 payload after ;base64,.
The following example creates a data URI from a shipment summary and displays the extracted Base64 prefix.
Loading ...