Search code examples
c#itextdpi

iTextSharp get PDF DPI


How can I get the DPI of the PDF that I am reading from my hard drive into iTextSharp?


Solution

  • PDF's do not necessarily use DPI in their definitions. PDF's allow the document creator to define their own user coordinate space which may or may not map to anything similar to Dots Per Inch.