Click or drag to resize
Ranorex

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
Syntax
public static ImagingFindOptions Default { get; set; }

Property Value

Type: ImagingFindOptions
Exceptions
ExceptionCondition
ArgumentNullExceptionIf setting this property to null.
Remarks
Change 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