SetLayerDefaultFormat

image\bltlrgss.gif Editions  image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The SetLayerDefaultFormat transaction sets the default output format for the specified layer type. Valid formats are those returned by the GetFormatList transaction.

Type XTYP_EXECUTE

Syntax [SetLayerDefaultFormat(layerType, formatID)]

Parameter

Data type

Values

Meaning

layerType

WORD

1 | 2

vector | bilevel raster

formatID

WORD

File Format IDs

identifier of the file format to use by default

Remarks

For layerType 1, you can set the formatID value to any writable vector format. For layerType 2, you can set the formatID value to any writable bilevel raster format.

Release Information

Added in Release 3.70.

See also

Selecting file formats