[]
Represents options for a find operation.
public class FindOptions
Initializes a new instance of the FindOptions class.
public FindOptions(DocumentBase document)
document
DocumentBaseThe target document for the find operation.
Gets the formatting options associated with the search.
public FindFormatting FormattingOptions { get; }
Gets or sets a value indicating whether the search should ignore case.
The default is false.
public bool IgnoreCase { get; set; }
Gets or sets a value indicating whether the search should use regular expressions. If true, the search pattern represents a .NET regular expression (see System.Text.RegularExpressions.Regex for details).
The default is false.
public bool RegularExpressions { get; set; }
Gets or sets a value indicating whether the search should proceed from the end of the search range backwards.
The default is false.
public bool SearchBackwards { get; set; }
Gets or sets a value indicating whether the search should use InvariantCulture.
The default is false (CultureInfo.CurrentCulture is used).
public bool UseCultureInvariant { get; set; }