TextReplaceOptions.Scope
Inheritance: java.lang.Object, java.lang.Enum < TextReplaceOptions.Scope > com.aspose.pdf.TextReplaceOptions.Scope, java.lang.Enum < TextReplaceOptions.Scope >, com.aspose.pdf.TextReplaceOptions.Scope
All Implemented Interfaces: Serializable, Comparable < TextReplaceOptions.Scope >
public static enum TextReplaceOptions.Scope extends Enum < TextReplaceOptions.Scope >
Scope where replace text operation is applied REPLACE_FIRST by default This obsolete option was kept for compatibility. It affects to PdfContentEditor and has no effect to TextFragmentAbsorber.
Fields
| Field | Description |
|---|---|
| REPLACE_ALL | Replace all text occurrences on all affected pages |
| REPLACE_FIRST | Replace only first occurrence of the text on each of affected pages |
Methods
| Method | Description |
|---|---|
| getValue | |
| valueOf | Returns the enum constant of this type with the specified name. |
| values | Returns an array containing the constants of this enum type, in the order they are declared. |
REPLACE_ALL
public static final TextReplaceOptions.Scope REPLACE_ALL
Replace all text occurrences on all affected pages
REPLACE_FIRST
public static final TextReplaceOptions.Scope REPLACE_FIRST
Replace only first occurrence of the text on each of affected pages
getValue
public int getValue()
valueOf
Returns the enum constant of this type with the specified name.
values
public static TextReplaceOptions.Scope [] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Returns: an array containing the constants of this enum type, in the order they are declared