L_GetTXTOptions

#include "Ltfil.h"

L_LTFIL_API L_INT L_GetTXTOptions(pTxtOptions, uStructSize)

pFILETXTOPTIONS pTxtOptions;

/* pointer to FILETXTOPTIONS structure */

L_UINT uStructSize;

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

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

Parameter

Description

pTxtOptions

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 pTxtOptions, 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 2000 / XP/Vista.

See Also

Functions:

L_SetTXTOptions

Topics:

Raster Image Functions: Loading Files

 

Loading and Saving Images

Example

For an example, refer to L_SetTXTOptions.