IN_SetDefaultLayerFormat

image\bltlrgsq_shg.gif Editions  image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_SetDefaultLayerFormat function sets the default output format for the specified layer type. Valid formats are those listed by the IN_GetFormatList function.

Syntax

int IN_SetDefaultLayerFormat( layerType, formatID )

Parameters

Values

Meaning

USHORT layerType

IN_LAYER_EDIT (2) edit

IN_LAYER_RASTER (6) bilevel raster

SHORT formatID

File Format IDs

identifier of the output format to use

Remarks

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

Release information

Added to Imagenation for Windows in Release 4.10.

Modified in Release 4.5 to also support vector formats.

As of Release 5.1, also available in Imagenation for UNIX.

Also supported in Imagenation 3.3 for UNIX.

See also

Selecting file formats