L_GetTXTOptions

#include "Ltfil.h"

L_INT EXT_FUNCTION L_GetTXTOptions(pOptions, uStructSize)

pFILETXTOPTIONS pOptions;

/* pointer to FILETXTOPTIONS structure */

L_UINT uStructSize;

/* size in bytes, of the structure pointed to by pOptions */

Gets the file options used by LEADTOOLS when loading TXT files.

Parameter

Description

pOptions

Pointer to the FILETXTOPTIONS structure to be updated with the options used when loading TXT files.

uStructSize

Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(FILETXTOPTIONS).

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To set the options used when loading TXT files, use L_SetTXTOptions.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_SetTXTOptions

Topics:

Raster Image Functions: Loading Files

 

Loading and Saving Images

Example

For an example, refer to L_SetTXTOptions.