I develop some windows form app having the Image Viewer (FineReader SDK 10.5) as shown below
then I follow this step
- Drag the Text Block over some text
- Set Language to "Thai"
- Hit Save button (calling FRDocument.SaveToFolder(path))
- Close the form
- Reopen the form
- Hit Load button (calling FRDocument.LoadFromFolder(path))
- The Language shows (Default) instead of "Thai"
The questiong is How can I restore the Language I set earlier?
I also try to programmatically set the Language by the below code, but it still show (Default).
TextBlock tb = frDoc.Pages.Layout.Blocks.GetAsTextBlock(); RecognizerParams rp = engine.CreateRecognizerParams(); rp.SetPredefinedTextLanguage("Thai"); tb.RecognizerParams = rp;