Since the Import Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:
"Resolution=150, WhichPage=7"
This would set the resolution of the images in the PDF file to 150 DPI and imports only page 7.
Option |
Action |
Default |
Description |
WhichPages |
0 = all pages > 1 = specific page |
0 |
The page number of the page to import. 0 imports all pages. Type the specific page number to import only that page. |
Resolution |
50, 75, 100, 125, 150, 200, 250, 300 |
150 |
The resolution of the imported PDF in DPI. |
AntialiasVector |
0 = false 1 = true |
1 |
Turns on/off the smoothing of vector objects in the imported PDF file, such as lines and polygons. |
AntialiasRaster |
0 = false 1 = true |
1 |
Turns on/off the smoothing of text and images in the imported PDF file. |
See Also
PDF Adobe Acrobat File Description