 | ImagingFindOptionsDefault Property |
Gets or set the default options for image find methods.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static ImagingFindOptions Default { get; set; }Public Shared Property Default As ImagingFindOptions
Get
Set
Property Value
Type:
ImagingFindOptions
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If setting this property to null. |
RemarksChange the default options by assigning a new instance to this property.
Changing a property value on the instance returned by this property won't change
the default options, but only the returned instance; i.e.
Ranorex.Imaging.FindOptions.Default.Similarity = 0.95;
won't change
the default value for
Similarity, but the following line will:
Ranorex.Imaging.FindOptions.Default = new Ranorex.Imaging.FindOptions(0.95);
See Also