Aspose::Pdf::Facades::ReplaceTextStrategy class
Contents
[
Hide
]ReplaceTextStrategy class
This class contains parameters which define PdfContentEditor behavior when ReplaceText operation is performed.
class ReplaceTextStrategy : public System::Object
Enums
| Enum | Description |
|---|---|
| NoCharacterAction | Action to perform if font does not contain required character. |
| Scope | Scope where replace text operation is applied REPLACE_FIRST by default. |
Methods
| Method | Description |
|---|---|
| get_IsRegularExpressionUsed() const | If false, string to find is a simple text. If true, string to find is regular expression. |
| get_NoCharacterBehavior() const | Action which is performed when no approppriate font found for changed text (Throw exception / Substitute other font / Replace anyway). |
| get_ReplaceScope() const | Scope of the replacement operation (replace first occurence or replace all occurences). |
| ReplaceTextStrategy() | |
| set_IsRegularExpressionUsed(bool) | If false, string to find is a simple text. If true, string to find is regular expression. |
| set_NoCharacterBehavior(ReplaceTextStrategy::NoCharacterAction) | Action which is performed when no approppriate font found for changed text (Throw exception / Substitute other font / Replace anyway). |
| set_ReplaceScope(ReplaceTextStrategy::Scope) | Scope of the replacement operation (replace first occurence or replace all occurences). |
See Also
- Class Object
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++