[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FindReplaceOptions

FindReplaceOptions Class

Represents options for a find and replace operation.

Inheritance
FindReplaceOptions
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class FindReplaceOptions : FindOptions
Public Class FindReplaceOptions
    Inherits FindOptions

Constructors

Name Description
FindReplaceOptions(DocumentBase)

Initializes a new instance of the FindReplaceOptions class.

Properties

Name Description
RemoveEmptyRuns

Gets or sets a value indicating whether empty runs that appeared as the result of a replace operation should be removed.

The default is false.

ReplacedCallback

Gets or sets a callback action that is called for each found instance after the replacement has been done.

ReplacingCallback

Gets or sets a callback function that is called for each found instance prior to the replacement. The return value of the function specifies the action that should be taken.