Windows Metafile .WMF and .EMF Import Automation Options

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:

 "Defaults=1,BreakApart=0"

This would first set all import options to their default values, then set the BreakApart option value to zero, which specifies the metafile contents are to remain together as a single unit.

Option Action Default Description
BreakApart 0 = No 1 = Yes 1 Break metafile apart into individual graphical objects during import.

See Also

Windows Enhanced Metafile (EMF) File Description

Windows Metafile (WMF) File Description

Windows Metafile Import Options Dialog

Windows Metafile Export Options Dialog

Windows Metafile Export Automation Options