You can generate content in PDF which is otherwise not visible to the user during the PDF export itself.
To export company logos, contact details, or other types of information to PDF that is not visible to the user, utilize the
PDFExport component or the
To prevent such extra content from displaying during the PDF export:
- Create a container that holds all the information you want to hide from the user.
- Make sure that the container is fully rendered.
The following example demonstrates how to use absolute positioning to move the container off the screen.