L_OcrWriteXmlOptions

struct L_OcrWriteXmlOptions 
{ 
   L_UINT StructSize; 
   L_OcrXmlEncoding Encoding; 
   L_BOOL Formatted; 
   L_TCHAR Indent[10]; 
}; 
typedef struct L_OcrWriteXmlOptions L_OcrWriteXmlOptions; 

Options to use when saving XML data.

Member Description
StructSize Structure size. It should be equal to sizeof(L_OcrWriteXmlOptions).
Encoding The text encoding to use when saving XML data. Default value is OcrXmlEncoding.UTF8.
Formatted Gets or sets a value that indicates whether the final XML document is formatted for human reading. When the value of Formatted is true each element of the XML will be in its own line. The value of Indent will be used to indent the elements in the hierarchy.
Indent The string to use for indentation when saving XML data. Default value is two spaces " ". The value of Formatted must be TRUE to use this property. To use a standard Tab character, set the value of Indent to "\t".

Comments

L_OcrWriteXmlOptions allows to control how XML data is written.

This structure is used with the following functions:

L_OcrSettingManager_SaveFile

L_OcrDocument_SaveXml

L_OcrPage_SaveZonesFile

L_OcrPage_SaveXml

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

LEADTOOLS OCR Module - LEAD Engine C API Help