Windows Metafile .WMF and .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.

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 have its resolution reduced so it does not exceed the maximum size.

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.

See Also

Export Options String

Windows Enhanced Metafile (EMF) File Description

Windows Metafile Export Options Dialog

Windows Metafile (WMF) File Description

Windows Metafile Import Options Dialog

Windows Metafile Import Automation Options