---
title: "TextStamp.NoCharacterAction"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/textstamp.nocharacteraction/"
product: "Aspose.PDF for Java API Reference"
description: "Action to perform if font does not contain required character."
---

**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.TextStamp.NoCharacterAction, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.TextStamp.NoCharacterAction, com.aspose.ms.System.Enum, com.aspose.pdf.TextStamp.NoCharacterAction

```
public static final class TextStamp.NoCharacterAction extends com.aspose.ms.System.Enum
```

Action to perform if font does not contain required character.

## Fields

| Field | Description |
| --- | --- |
| [ReplaceAnyway](#ReplaceAnyway) | Replace text anyway without font substitution. |
| [ThrowException](#ThrowException) | If the font does not contain all the characters of the string, an exception is thrown. |
| [UseCustomReplacementFont](#UseCustomReplacementFont) | Replace font to defined replacement font. |
| [UseStandardFont](#UseStandardFont) | Replace font to standard font which contains required character. |

### ReplaceAnyway {#ReplaceAnyway}
```
public static final int ReplaceAnyway
```

Replace text anyway without font substitution.

### ThrowException {#ThrowException}
```
public static final int ThrowException
```

If the font does not contain all the characters of the string, an exception is thrown.

### UseCustomReplacementFont {#UseCustomReplacementFont}
```
public static final int UseCustomReplacementFont
```

Replace font to defined replacement font.

### UseStandardFont {#UseStandardFont}
```
public static final int UseStandardFont
```

Replace font to standard font which contains required character.
