Set Clipping Region from variables

Hello All,

I am trying to set the Clipping Region of the Target of a component (ie Take ScreenShot) from variables and it seems that it is not possible.Once I enter the variable and hit save the variables are deleted. On the other hand it is possible to enter values by hand (ie (1,2,100,101)). Isnt there a way to assing these values dynamically??

Thanks in advance

Hi,

I am trying to pass dynamic values into ClippingRegion of the Activity “Get OCR Text”.
My requirement is to Get OCR Text from dynamic regions of an image, the region values are user inputs.

Sorry i could not find your post with New UiPath.Core.Region(New Rectangle( _ ). Possible for you to share the steps? Thank you

Kindly help

Very basic sample

clipping.xaml (5.9 KB)

1 Like