I have a scenario where the data I want might fall in a line or 2 lines.
I can only think of using 2 rectangle search area, r1 is on the right of the Address, r2 is below Address.
if Tel is found directly under Address, then omit r2, search area will be r1 only, which match the case of 1 line.
However when I try, the code is returning error.
DataRegion = RectArray (r1);
if kwTel.IsFound and (kwTel.Rect.Top - kwAddress.Rect.Bottom >= 50) then
Please sign in to leave a comment.