IN_SetFormatAttribute

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

The IN_SetFormatAttribute function sets an attribute, such as units or orientation, for the OTG COLD or TW COLD file formats. When a COLD format document is loaded, it takes a snapshot of the current Imagenation INI information and uses those parameters to format the document. You can override the INI information with this function.

Syntax

int IN_SetFormatAttribute( formatID, attribute, pValue )

Parameters

Values

Meaning

SHORT formatID

API_FF_COLD (528) OTG COLD format

API_FF_TWCOLD (535) TW COLD format

SHORT attribute

COLD attribute IDs

attribute to set

CHARPTR pValue

COLD attribute values

pointer to the value of attribute

Release information

Added to Imagenation for Windows in Release 4.33.

Modified in Release 4.5 to support TW COLD files as well.

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

See also

Defining COLD-format files

Using CFG and INI files