ReplaceTextStrategy.Scope

Inheritance: java.lang.Object, java.lang.Enum < ReplaceTextStrategy.Scope > com.aspose.pdf.facades.ReplaceTextStrategy.Scope, java.lang.Enum < ReplaceTextStrategy.Scope >, com.aspose.pdf.facades.ReplaceTextStrategy.Scope

All Implemented Interfaces: Serializable, Comparable < ReplaceTextStrategy.Scope >

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

Scope where replace text operation is applied REPLACE_FIRST by default

Fields

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

Methods

MethodDescription
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

ReplaceAll

public static final ReplaceTextStrategy.Scope ReplaceAll

Replace all text occurences on all affected pages

ReplaceFirst

public static final ReplaceTextStrategy.Scope ReplaceFirst

Replace only first occurence 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 ReplaceTextStrategy.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