New to KendoReactStart a free 30-day trial

Hidden Content
Premium

During the PDF export process, you can generate additional content in the PDF which is otherwise not visible to the user. For example, you can add company logos or contact details to the exported document.

  1. Create a container that holds all the information you want to hide.
  2. Make sure your code fully renders the container.
  3. Use the PDFExport component or the savePDF method to export the hidden container.
    • The PDFExport component must be placed inside the hidden container.
    • The savePDF method must receive the hidden container as its first argument.

The following demo shows how to export hidden content to PDF using the PDFExport component. A hidden text block is positioned off-screen and appears only in the exported document, not on the web page.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support