[]
Represents options for a find and replace operation.
public class FindReplaceOptions : FindOptions
Public Class FindReplaceOptions
Inherits FindOptions
Name | Description |
---|---|
FindReplaceOptions(DocumentBase) | Initializes a new instance of the FindReplaceOptions class. |
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. |