ReplaceTextStrategy
Overview
ReplaceTextStrategy is a class in Aspose.PDF FOSS for .NET.
Configures how ReplaceText(string, string) matches and substitutes text via editor.ReplaceTextStrategy.IsRegularExpressionUsed / editor.ReplaceTextStrategy.ReplaceScope.
Properties: IsRegularExpressionUsed, NoCharacterBehavior, ReplaceScope.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ReplaceScope | Scope | Read/Write | How many matches to replace; default ReplaceFirst. |
IsRegularExpressionUsed | bool | Read/Write | When true, the search string is interpreted as a .NET regular expression. |
NoCharacterBehavior | NoCharacterAction | Read/Write | Behaviour when the replacement font cannot render a character. |