Windows Enhanced Metafile [.EMF] 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,AllTextToPolygons=0"
This would set all export options to their default values, then indicate that all text is not to be exported as polygons (i.e., it is to remain as text).
Option |
Action |
Default |
Description |
MaxBitmapSizeInMB |
N |
10 |
This option specifies the largest size allowed for an individual bitmap in the EMF file, in Megabytes. Any exported bitmap larger than this size will be downscaled to this size 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
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
Windows Enhanced Metafile [.EMF] File Description
Windows Metafile [.WMF] File Description
Windows Enhanced Metafile [.EMF] Import Automation Options