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 |
|
|
formatID |
WORD |
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