Get OCR Text : Object reference not set to an instance of an object

‘Object reference not set to an instance of an object’ appearing when i try to fetch a sub-text from a PDF with OCR.Why is it appearing so?
get
Can i use regular expression to fetch a sub-text from PDF.If yes how?

1 Like

hi

can you please provide screen shots or xaml for more clarity.

thanks…

@shaikmdrafi,
Attaching a screenshot for reference


Hope the problem is clear now.

Hi @Gopalakrishnan_K,

This issue normally occurs when a variable has not been initialised (hasn’t been given a value). Try using an Assign before the Get OCR Text like this:

MyString = ""

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.