Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

SaveXml(Stream,Int32,OcrWriteXmlOptions,OcrXmlOutputOptions) Method








The output stream to save the XML data to.
1-based page number to use.
Options to use when creating the XML data.
A combination of one or more OcrXmlOutputOptions enumeration members that specify the XML generation options.
Converts the accumulated recognition results stored in this page to XML data and stores it in an output stream with XML options.
Syntax
'Declaration
 
Overloads Sub SaveXml( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal xmlOptions As OcrWriteXmlOptions, _
   ByVal outputOptions As OcrXmlOutputOptions _
) 
'Usage
 
Dim instance As IOcrPage
Dim stream As Stream
Dim pageNumber As Integer
Dim xmlOptions As OcrWriteXmlOptions
Dim outputOptions As OcrXmlOutputOptions
 
instance.SaveXml(stream, pageNumber, xmlOptions, outputOptions)
- (void)saveXmlToStream:(LTLeadStream *)stream
             pageNumber:(NSUInteger)pageNumber
        xmlWriteOptions:(nullable LTOcrWriteXmlOptions *)xmlWriteOptions
          outputOptions:(LTOcrXmlOutputOptions)outputOptions
                  error:(NSError **)error
            
public void saveXml(OutputStream stream,
                    int pageNumber,
                    OcrWriteXmlOptions xmlOptions,
                    int outputOptions)
            
function Leadtools.Forms.Ocr.IOcrPage.SaveXml(Stream,Int32,OcrWriteXmlOptions,OcrXmlOutputOptions)( 
   stream ,
   pageNumber ,
   xmlOptions ,
   outputOptions 
)

Parameters

stream
The output stream to save the XML data to.
pageNumber
1-based page number to use.
xmlOptions
Options to use when creating the XML data.
outputOptions
A combination of one or more OcrXmlOutputOptions enumeration members that specify the XML generation options.
Remarks

To save the recognition results as XML to a disk file, use IOcrPage.SaveXml(stringFileName, int pageNumber, OcrWriteXmlOptions xmlOptions, OcrXmlOutputOptions outputOptions).

For more information, refer to IOcrDocument.SaveXml.

Requirements

Target Platforms

See Also

Reference

IOcrPage Interface
IOcrPage Members
Overload List
Leadtools.Forms.DocumentWriters.DocumentFormat
IOcrPage.Recognize
IOcrEngine Interface
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR
Files to be Included with Your Application

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features