如何将OCR结果转移到其他形式? [英] How to transfer OCR result to other form?

查看:90
本文介绍了如何将OCR结果转移到其他形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

i将OCR结果转移到其他形式有问题...每当我在列表框中选择图像并单击转换按钮时,我希望结果将其放在文本框中以其他形式... 。目标表单中的

hi!
i have problem in transferring OCR result to other form...whenever i select a image in listbox and click convert button i want the result put it in textbox in other form....

推荐答案

,创建一个属性来写入结果



in the target form, create a property to write the result

public string OCROutput 
{ 
  get { return this.txtOCRText.Text; } 
  set { this.txtOCRText.Text = value; }  
}





然后在ocr读取表单中,在ocr完成时设置该属性





then in the ocr read form, set that property when ocr completed

targetForm.OCROutput = ocrOutput;


这篇关于如何将OCR结果转移到其他形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆