Encapsulated PostScript .EPS Export Automation Options
Since the Export 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 export options. A typical example would be:
"Defaults=1,ScalingSourceApp=0"
This would set all export options to their default values, then indicate the scaling source information should not be taken from the application, but from previously saved values.
Option |
Action |
Default |
Description |
Width |
N |
|
Sets the width of the exported image in pixels. Either a Width or an HDPI option may be specified, but not both. |
Height |
N |
|
Sets the height of the exported image in pixels. Either a Height or a VDPI option may be specified, but not both. |
HDPI |
N |
96 |
Sets the number of horizontal pixels in the exported image that corresponds to a distance one horizontal inch on the Surfer plot. Either a Width or an HDPI option may be specified, but not both. The default HDPI is the resolution of the display device driver on your computer (this is 96 dots per inch on many Windows display devices, but number can very from device to device). |
VDPI |
N |
96 |
Sets the number of vertical pixels in the exported image that corresponds to a distance of one vertical inch on the Surfer plot. Either a Height or a VDPI option may be specified, but not both. The default VDPI is the resolution of the display device driver on your computer (this is 96 dots per inch on many Windows display devices, but number can very from device to device). |
KeepAspect |
0 = No 1 = Yes |
1 |
If set to 1, KeepAspect ajusts the aspect ratio (the width versus height) of the exported image to match the aspect ratio of the Surfer plot that is being exported. If an option is given to set the Width or HDPI of an image, KeepAspect automatically assigns the appropriate Height or VDPI to maintain the same aspect ratio as the Surfer plot. Likewise, if an option is given to set the Height or VDPI of an image, KeepAspect automatically assigns the appropriate Width or HDPI to maintain the same aspect ratio of the Surfer plot. Note that the KeepAspect option is ignored if both the Width and Height options or the HDPI and VDPI options are specified. If set to 0, the aspect ratio of the exported image is determined solely by the Width and Height or HDPI and VDPI options. The size is not adjusted to match the aspect ratio of the Surfer plot. |
IgnoreRefInfo |
0 = Save spatial references 1 = Ignore spatial references |
1 |
Ignore any spatial reference information. |
SaveRefInfoAsInternal |
0 = No 1 = Yes |
0 |
Save spatial references to internal format (if possible). |
SaveRefInfoAsBlueMarbleRSF |
0 = No 1 = Yes |
0 |
Save spatial references as Blue Marble .RSF file. |
SaveRefInfoAsESRIWorld |
0 = No 1 = Yes |
0 |
Save spatial references as Esri World file. |
SaveRefInfoAsGSIREF |
0 = No 1 = Yes |
0 |
Save spatial references as Golden Software Reference (version 1) file. |
SaveRefInfoAsGSIREF2 |
0 = No 1 = Yes |
0 |
Save spatial references as Golden Software Reference (version 2) file. |
PreviewType |
0 = None 1 = EPSI 2 = TIFF |
2 |
Specifies whether an embedded preview image is to be included in the EPS file, and in what format the embedded preview image is to be stored. |
PreviewColor |
0 = Grayscale 1 = Color |
1 |
Choose whether the preview image is exported in Color or Grayscale. |
PreviewSize |
0 = < 64 KB 1 = < 512 KB 2 = 25% of PostScript Image 3 = 50% of PostScript Image 4 = 100% of PostScript Image |
1 |
Choose what size of EPS preview image is encoded in the export file. |
See Also
Encapsulated PostScript .EPS File Description