Converts the accumulated recognition results stored in this page to XML data and stores it in a disk file with XML options.
public void SaveXml(
string fileName,
int pageNumber,
OcrWriteXmlOptions xmlOptions,
OcrXmlOutputOptions outputOptions
)
Overloads Sub SaveXml( _
ByVal fileName As String, _
ByVal pageNumber As Integer, _
ByVal xmlOptions As Leadtools.Forms.Ocr.OcrWriteXmlOptions, _
ByVal outputOptions As Leadtools.Forms.Ocr.OcrXmlOutputOptions _
)
void SaveXml(
string fileName,
int pageNumber,
Leadtools.Forms.Ocr.OcrWriteXmlOptions xmlOptions,
Leadtools.Forms.Ocr.OcrXmlOutputOptions outputOptions
)
- (void)saveXmlToFile:(NSString *)fileName
pageNumber:(NSUInteger)pageNumber
xmlWriteOptions:(nullable LTOcrWriteXmlOptions *)xmlWriteOptions
outputOptions:(LTOcrXmlOutputOptions)outputOptions
error:(NSError **)error
public void saveXml(String fileName,
int pageNumber,
OcrWriteXmlOptions xmlOptions,int outputOptions)
function Leadtools.Forms.Ocr.IOcrPage.SaveXml(String,Int32,OcrWriteXmlOptions,OcrXmlOutputOptions)(
fileName ,
pageNumber ,
xmlOptions ,
outputOptions
)
void SaveXml(
String^ fileName,
int pageNumber,
Leadtools.Forms.Ocr.OcrWriteXmlOptions^ xmlOptions,
Leadtools.Forms.Ocr.OcrXmlOutputOptions outputOptions
)
fileName
The output file name 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 .NET stream, use IOcrPage.SaveXml(Stream stream, int pageNumber, OcrWriteXmlOptions xmlOptions, OcrXmlOutputOptions outputOptions).
For more information, refer to IOcrDocument.SaveXml.
Leadtools.Forms.DocumentWriters.DocumentFormat
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET