PDF DPI information

As per requirement, we want to calculate the DPI of every PDF, We would like to know is there any way to get the DPI information of a PDF as shown in Adobe acrobat.
Note:- By mentioning the DPI(Dots per inch) of a PDF we are strictly referring to the actual DPI of the PDF, not the screen size on which the document would get rendered.

ASPOSE Library USED: aspose-PDF-10.4.0

Regards,
Team Ultria

@rabinintig

Please note that PDF files are DPI independent and it completely depends upon the device where PDF files are going to be rendered. As far as the measurement unit of the PDF file is concerned, you can measure PDF files in PPI (Points Per Inch) using Aspose.PDF API. The properties of Height and Width return size in points i.e. 72 points = 1 inch.

Furthermore, Aspose.PDF generates PDF DPI independent from other file formats, however when you try to get/measure size information or set watermark images, it renders the PDF in 72 DPI resolution to perform the task.

In case if you need any further assistance, please feel free to contact us.