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(String,Int32,OcrWriteXmlOptions,OcrXmlOutputOptions) Method |
void SaveXml( string fileName, int pageNumber, OcrWriteXmlOptions xmlOptions, OcrXmlOutputOptions outputOptions )
'Declaration
Overloads Sub SaveXml( _ ByVal fileName As String, _ ByVal pageNumber As Integer, _ ByVal xmlOptions As OcrWriteXmlOptions, _ ByVal outputOptions As OcrXmlOutputOptions _ )
'Usage
Dim instance As IOcrPage Dim fileName As String Dim pageNumber As Integer Dim xmlOptions As OcrWriteXmlOptions Dim outputOptions As OcrXmlOutputOptions instance.SaveXml(fileName, pageNumber, xmlOptions, outputOptions)
void SaveXml( string fileName, int pageNumber, OcrWriteXmlOptions xmlOptions, 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, OcrWriteXmlOptions^ xmlOptions, OcrXmlOutputOptions outputOptions )
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.