How to add a component to PDF?