TextReplaceOptions.Scope

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

FieldDescription
REPLACE_FIRSTReplace only first occurrence of the text on each of affected pages
REPLACE_ALLReplace all text occurrences on all affected pages

Methods

MethodDescription
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:

ParameterTypeDescription
namejava.lang.String

Returns: Scope

getValue()

public int getValue()

Returns: int