• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FindReplaceOptions

Configures a find or replace operation.

Inheritance
object
FindReplaceOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class FindReplaceOptions

Constructors

FindReplaceOptions()

Initializes options with a forward, case-sensitive literal search.

Declaration
public FindReplaceOptions()

FindReplaceOptions(FindReplaceDirection)

Initializes options with the specified match direction.

Declaration
public FindReplaceOptions(FindReplaceDirection direction)
Parameters
Type Name Description
FindReplaceDirection direction

The direction in which matches are visited.

Properties

Direction

Gets or sets the direction in which matches are visited.

Declaration
public FindReplaceDirection Direction { get; set; }
Property Value
Type Description
FindReplaceDirection

FindWholeWordsOnly

Gets or sets a value indicating whether matches must be whole words.

Declaration
public bool FindWholeWordsOnly { get; set; }
Property Value
Type Description
bool

MatchCase

Gets or sets a value indicating whether matching is case-sensitive.

Declaration
public bool MatchCase { get; set; }
Property Value
Type Description
bool

ReplacingCallback

Gets or sets the callback invoked for each match during replacement.

Declaration
public IReplacingCallback ReplacingCallback { get; set; }
Property Value
Type Description
IReplacingCallback

UseRegex

Gets or sets a value indicating whether the pattern is a regular expression.

Declaration
public bool UseRegex { get; set; }
Property Value
Type Description
bool
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX