ReplaceTextStrategy
Overview
ReplaceTextStrategy 是一个类在Aspose.PDF FOSS的.NET中.
配置ReplaceText(字符串,字节) 通过编辑器.ReplaceTextStrategy.IsRegularExpressionUsed / editor. ReplaceTextStrategy.ReplaceScope 的方式匹配和替换文本.
特性: IsRegularExpressionUsed, NoCharacterBehavior, ReplaceScope.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ReplaceScope | Scope | 阅读/写作 | 需要替换多少匹;默认 ReplaceFirst. |
IsRegularExpressionUsed | bool | 阅读/写作 | 当 true 时,搜索字符串被解释为 .NET 正则表达式. |
NoCharacterBehavior | NoCharacterAction | 阅读/写作 | 当替代字体无法呈现一个符号时的行为. |