MapInfo Interchange Format .MIF 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,AreasToLines=1"

This would first set all export options to their default values, then specify that all areas be output as lines.

Option

Action

Default

Description

AreasToCurves

0 = No

1 = Yes

0

Output polygons to exported MIF file as polylines.

RenderMarkers

0 = No

1 = Yes

0

If set to 0, marker symbols will be output to the export file as marker objects. If set to 1, marker symbols will be output to the export file as polylines and polygons to retain the shape and look of the symbol.

RenderText

0 = No

1 = Yes

0

If set to 0, text will be output to the export file as text objects. If set to 1, text will be output to the export file as polylines and polygons to retain the shape and look of the font face.

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

MapInfo Interchange Format (MIF) File Description

MapInfo Interchange Format (MIF) Import Automation Options

MapInfo Interchange Format (MIF) Export Options Dialog