Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > IOcrPage Interface > SaveXml Method : SaveXml(Stream,Int32,OcrWriteXmlOptions,OcrXmlOutputOptions) Method |
void SaveXml( Stream stream, int pageNumber, OcrWriteXmlOptions xmlOptions, OcrXmlOutputOptions outputOptions )
'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 SaveXml( Stream stream, int pageNumber, OcrWriteXmlOptions xmlOptions, OcrXmlOutputOptions 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 )
void SaveXml( Stream^ stream, int pageNumber, OcrWriteXmlOptions^ xmlOptions, OcrXmlOutputOptions outputOptions )
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.