ReplaceTextStrategy.Scope

Inheritance: java.lang.Object, java.lang.Enum

public enum ReplaceTextStrategy.Scope extends Enum<ReplaceTextStrategy.Scope>

Scope where replace text operation is applied REPLACE_FIRST by default

Fields

FieldDescription
ReplaceFirstReplace only first occurence of the text on each of affected pages
ReplaceAllReplace all text occurences on all affected pages

Methods

MethodDescription
values()
valueOf(String name)
getValue()

ReplaceFirst

public static final ReplaceTextStrategy.Scope ReplaceFirst

Replace only first occurence of the text on each of affected pages

ReplaceAll

public static final ReplaceTextStrategy.Scope ReplaceAll

Replace all text occurences on all affected pages

values()

public static ReplaceTextStrategy.Scope[] values()

Returns: com.aspose.pdf.facades.ReplaceTextStrategy.Scope[]

valueOf(String name)

public static ReplaceTextStrategy.Scope valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: Scope

getValue()

public int getValue()

Returns: int