TEXTFORMATINFO2

typedef struct _tagTextFormatInfo2 
{ 
   L_UINT uStructSize; 
   L_TCHAR * pszName; 
   L_TCHAR * pszDLLName; 
   L_TCHAR * pszExtName; 
} TEXTFORMATINFO2, * pTEXTFORMATINFO2; 

The TEXTFORMATINFO2 structure contains detailed information about a specific format.

Member

Description

uStructSize

Structure size. It should be equal to sizeof(TEXTFORMATINFO2).

pszName

Character string that contains the name of the output text format.
The toolkit will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

pszDLLName

Character string that contains the name of the output converter DLL file containing the Name converter.
The toolkit will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

pszExtName

Character string that contains the default extension for the final output document.
The toolkit will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

Comments

pTEXTFORMATINFO2 is a pointer to a TEXTFORMATINFO2 structure. If the function parameter type is pTEXTFORMATINFO2, declare a TEXTFORMATINFO2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pTEXTFORMATINFO2 variable is necessary only if the program requires a pointer.

This structure is used with the L_Doc2GetTextFormatInfo function.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help