IN_SetAsciiTemplateFilename

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

The IN_SetAsciiTemplateFilename function sets the file name of the RTF template that is used for loading ASCII text documents. The RTF template defines how ASCII files are rendered: text color, font, number of columns, margin sizes, orientation, and so on.

Syntax

int IN_SetAsciiTemplateFilename( pFileName )

Parameters

Meaning

CHARPTR pFileName

pointer to the template's path and file name

Remarks

This function writes the file name to use in the "Ascii Template" keyname in the [FormattedText] section of the Image.ini file.

You will get an error message if the directory or file do not exist. For a list of all error codes, click Error and warning codes.

Release information

Added to Imagenation for Windows in Release 4.10.

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

See also

Selecting an RTF template