**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

| Field | Description |
| --- | --- |
| [ReplaceAll](#ReplaceAll) | Replace all text occurences on all affected pages |
| [ReplaceFirst](#ReplaceFirst) | Replace only first occurence of the text on each of affected pages |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### ReplaceAll {#ReplaceAll}
```
public static final ReplaceTextStrategy.Scope ReplaceAll
```

Replace all text occurences on all affected pages

### ReplaceFirst {#ReplaceFirst}
```
public static final ReplaceTextStrategy.Scope ReplaceFirst
```

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

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#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
