Gets or set the default options for image find methods.
| C# | Visual Basic | Visual C++ |
public static Imaging..::.FindOptions Default { get; set; }
Public Shared Property Default As Imaging..::.FindOptions
public: static property Imaging..::.FindOptions^ Default { Imaging..::.FindOptions^ get (); void set (Imaging..::.FindOptions^ value); }
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.
CopyC# won't change
the default value for Similarity, but the following line will:
CopyC#
Ranorex.Imaging.FindOptions.Default.Similarity = 0.95;Ranorex.Imaging.FindOptions.Default = new Ranorex.Imaging.FindOptions(0.95);
| Exception | Condition |
|---|---|
| ArgumentNullException | If setting this property to null. |
