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 |
BreakApartCompoundAreas |
0 = No 1 = Yes |
0 |
Compound areas (multi-ring polygons) will be split apart into multiple non-compound areas (simple polygons) during export. |
ScalingSource |
0 = previously saved 1 = application-supplied |
1 |
Use previously saved or application-supplied scaling source |
SaveScalingInfo |
0 = No 1 = Yes |
0 |
Save scaling parameters for later use. |
PageLLX |
N.N |
|
Set application page rectangle lower left X value. |
PageLLY |
N.N |
|
Set application page rectangle lower left Y value. |
PageURX |
N.N |
|
Set application page rectangle upper right X value. |
PageURY |
N.N |
|
Set application page rectangle upper right Y value. |
FileLLX |
N.N |
|
Set scaling rectangle lower left X value. |
FileLLY |
N.N |
|
Set scaling rectangle lower left Y value. |
FileURX |
N.N |
|
Set scaling rectangle upper right X value. |
FileURY |
N.N |
|
Set scaling rectangle upper right Y value. |
Remarks
Scaling rectangle parameters have changed between MapViewer 8 and MapViewer 9 and newer versions. For example:
Use FileURX instead of BLNUpperRightX.
Use PageLLY instead of APPLowerLeftY.
Older rectangle-coordinate parameters are still supported, but in new scripts use of the current parameter names is recommended.
Boolean values within options strings are not equivalent to Booleans in Scripter BASIC. Use “1” instead of “True” and “0” instead of “False”.
See Also
Golden Software Blanking File Description
Golden Software Blanking Import Automation Options
Golden Software Blanking Import Options Dialog
Golden Software Blanking Export Options Dialog
Export Automation