component screenshot with pdf