Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

TEXTFORMATINFO2

Show in webframe

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.