Specific region as element?

Ranorex Spy, Recorder, and Studio.
wyll
Posts: 34
Joined: Wed Aug 01, 2012 3:19 pm

Specific region as element?

Post by wyll » Tue Feb 26, 2013 1:55 pm

Hi there,

is there actually a way to have a rectangle, created with Rectangle.FromLTRB(x,y,x1,y2), as an element?

What i would like to do, is to search in this specfic region of the this rectangle for validation

regards wyll

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Specific region as element?

Post by Support Team » Fri Mar 01, 2013 2:34 pm

Hi,

Is there a special reason why you want to do this?
Which elements do you want to validate, painted graphs/elements?

Regards,
Markus
.
Image

wyll
Posts: 34
Joined: Wed Aug 01, 2012 3:19 pm

Re: Specific region as element?

Post by wyll » Wed Mar 06, 2013 10:20 am

Hi,

yeah ive been working with image validation. Im using canvas right now, and i want to ,lets say split the working area in 9 tiles. Therefore i want to calculate all the diffrent dimensions and save them as an Element to search in those specific tiles.

regards
wyll

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Specific region as element?

Post by Support Team » Fri Mar 08, 2013 1:02 pm

Hello,

Could you please send us a snapshot file and some screenshots in order to analyze and understand the issue in more detail?
If you use WPF for your application maybe the following post can help you to solve the issue:
http://www.ranorex.com/forum/wpf-suppor ... html#p3743

Regards,
Bernhard
.
Image