TextReplaceOptions.Scope
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum
public 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_FIRST | Replace only first occurrence of the text on each of affected pages |
REPLACE_ALL | Replace all text occurrences on all affected pages |
Methods
Method | Description |
---|---|
values() | |
valueOf(String name) | |
getValue() |
REPLACE_FIRST
public static final TextReplaceOptions.Scope REPLACE_FIRST
Replace only first occurrence of the text on each of affected pages
REPLACE_ALL
public static final TextReplaceOptions.Scope REPLACE_ALL
Replace all text occurrences on all affected pages
values()
public static TextReplaceOptions.Scope[] values()
Returns: com.aspose.pdf.TextReplaceOptions.Scope[]
valueOf(String name)
public static TextReplaceOptions.Scope valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: Scope
getValue()
public int getValue()
Returns: int