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". |
L_OcrWriteXmlOptions allows to control how XML data is written.
This structure is used with the following functions: