Converts the accumulated recognition results stored in this page to XML data and stores it in an output stream with XML options.
public void SaveXml(
Stream stream,
int pageNumber,
OcrWriteXmlOptions xmlOptions,
OcrXmlOutputOptions outputOptions
)
Overloads Sub SaveXml( _
ByVal stream As Stream, _
ByVal pageNumber As Integer, _
ByVal xmlOptions As OcrWriteXmlOptions, _
ByVal outputOptions As OcrXmlOutputOptions _
)
- (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)
void SaveXml(
Stream^ stream,
int pageNumber,
OcrWriteXmlOptions^ xmlOptions,
OcrXmlOutputOptions outputOptions
)
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.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document