You are right about spending time etc )))
For my project i need to read ID number ( lets say) in begin of row ( pdf) and then in END if the row i have to check block for signature.
It is a lot of PDFs and they are not absolutely the same .
Paddings of one document are different than paddings of another. One document has scanned askew etc. NObody is perfect, right?
But i can read the column with ID numbers relatively good! I put the data ( scrap it in one block ) in datatable. Then i make loop for each row and use " find OCR text" with vallue of ID number , find it ( of course), set the result of in UIElement ( with their COORDINATES) and Then i try to move it in the end of row . There i expect to find the signature box. i do it.
I made some observations about behavior of SetClippingRegion activity and i can definitely say that :
New UiPath.Core.Region(New System.Drawing.Rectangle(0,-18,0,36)) with direction Translate moves the regio approximately 9 pixels (??? ) bottom.
New UiPath.Core.Region(New System.Drawing.Rectangle(-650,0,1300,2)) with direction TRANSLATE moves BLOCK ( defined in UIelement) approximately 650 units ( i realy want to know what is it) right !
SO. It is only my own OBSERVATION that do not have “Scientifical undergrond”.
I hope you, my dear friends, still can follow my mad story… Because we all ( me , my collegas, users ) have different screen resolution, etc. I would like to calculate ( approximately) the position of "SIgnature block "in my document.
Thats why to WATCHing and plaing with clipping regio is not enought for me,
Anyway ! Thank you for attention!