IN_GetFormatAttribute

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

The IN_GetFormatAttribute function returns an attribute, such as units or lines per inch on the report page, for the OTG COLD or TW COLD file formats.

Syntax

int IN_GetFormatAttribute( formatID, attribute, maxSize, pValue )

Input Parameters

Values

Meaning

SHORT formatID

API_FF_COLD (528) OTG COLD format

API_FF_TWCOLD (535) 
TW COLD format

SHORT attribute

COLD attribute IDs

the attribute to query

SHORT maxSize

the maximum size of the pValue array in bytes

Output Parameters

Values

Meaning

CHARPTR pValue

pointer to: COLD attribute values

values of the attribute parameter. Numeric values are returned as ASCII character strings.

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