Click here to Skip to main content
15,915,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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....
Posted

1 solution

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

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


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

C#
targetForm.OCROutput = ocrOutput;
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900