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.

Members

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.

The structure is used by:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help