Access DPI
17330
Question / Problem:
How Do I Access the DPI of an image using KTM Scripting?
Answer / Solution:
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, YRes as Integer XRes = pXDoc.CDoc.Pages(PAGENUMBER).XRes ' for horizontal resolution YRes = pXDoc.CDoc.Pages(PAGENUMBER).YRes ' for vertical resolution
Applies to:
Product | Version | Category |
---|---|---|
KTM | 6.3 | Scripting |
KTM | 6.2 | Scripting |