How to find Rectangle variable

Hi there,

May I know how I can define the variable type: IEnumerable<KeyValuePair<Rectangle,String>>

System.Collections.Generic.KeyValuePair<TKey, TValue>

In particular which Rectangle variable type should I choose for TKey ?

Thanks

@Snowman,

Welcome back to UiPath community

Are you referring to this type?

 System.Windows.Shapes.Rectangle()

Hi Sarathi125,

Right, just back to this wonderful space and was engaged with something else earlier.

I was trying to play around with the new feature of Screen OCR, and still got the error message based on your advice. However the error message hint me that it would be:
System.Drawing.Rectangle.

So the whole variable type should be:
System.Collections.Generic.IEnumberable<System.Collections.Generic.KeyValuePair<System.Drawing.Rectangle, System.String>>

Thanks for your prompt reply

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