L_OcrWriteXmlOptions

Summary

Options to use when saving XML data.

Syntax

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

Members

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.

Usage

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.