How can i read PDF DPI

Can Any one please help me that how can i read the PDF DPI using invoke code or is there any activity? please help me i’m nocking my head since 2 days. I got the solution for reading DPI from image, but i’m not able to get the solution for PDF DPI. Please help me.