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.
Enum Constant and 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
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static TextReplaceOptions.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextReplaceOptions.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextReplaceOptions.Scope REPLACE_FIRST
Replace only first occurrence of the text on each of affected pages
public static final TextReplaceOptions.Scope REPLACE_ALL
Replace all text occurrences on all affected pages
public static TextReplaceOptions.Scope[] values()
for (TextReplaceOptions.Scope c : TextReplaceOptions.Scope.values()) System.out.println(c);
public static TextReplaceOptions.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2023 Aspose. All Rights Reserved.