[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FindOptions

Class FindOptions

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents options for a find operation.

public class FindOptions
Inheritance
object
FindOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

FindOptions(DocumentBase)

Initializes a new instance of the FindOptions class.

public FindOptions(DocumentBase document)

Parameters

document DocumentBase

The target document for the find operation.

Properties

FormattingOptions

Gets the formatting options associated with the search.

public FindFormatting FormattingOptions { get; }

Property Value

FindFormatting

IgnoreCase

Gets or sets a value indicating whether the search should ignore case.

The default is false.

public bool IgnoreCase { get; set; }

Property Value

bool

RegularExpressions

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; }

Property Value

bool

SearchBackwards

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; }

Property Value

bool

UseCultureInvariant

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; }

Property Value

bool