Access DPI

If you want to access the DPI (resolution: dots per inch, normally 300 for scan and 200 for fax) you can use the following code:

Dim XRes As Integer, YRes As Integer

XRes = pXDoc.CDoc.Pages(PAGENUMBER).XRes ' for horizontal resolution
YRes = pXDoc.CDoc.Pages(PAGENUMBER).YRes ' for vertical resolution