new Imaging.FindOptions(Rectangle clipping)

Class library usage, coding and language questions.
sundborg
Posts: 1
Joined: Mon Sep 04, 2017 3:23 pm

new Imaging.FindOptions(Rectangle clipping)

Post by sundborg » Fri Oct 19, 2018 10:42 am

Hello,
I'm trying to perform an image "Validate.ContainsImage" in a user code module.
When recording the validation i selected an area of the image to be compared.

In user code I am trying to use "new Imaging.FindOptions(Rectangle clipping)" but i don't know how to code this properly.
Could you clarify the syntax for me please.

Thankyou.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3949
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: new Imaging.FindOptions(Rectangle clipping)

Post by odklizec » Fri Oct 19, 2018 11:08 am

Hi,

I would suggest to check this post:
need-more-documentation-for-image-manip ... html#p7280

And then you should probably examine Ranorex API, for more details regarding image-related find options...
https://www.ranorex.com/Documentation/R ... ptions.htm
Sadly, the Ranorex API is just a bare bone documentation, without much required examples. Please vote for a better API documentation here:
https://uservoice.ranorex.com/forums/15 ... umentation
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration