**Inheritance:**
java.lang.Object, com.aspose.pdf.rtf.rtfstructure.RtfFormatting

**All Implemented Interfaces:**
Cloneable

```
public class RtfFormatting extends Object implements Cloneable
```

A snapshot of the formatting state. It is a class to be passed by reference on the stack.

## Constructors

| Constructor | Description |
| --- | --- |
| [RtfFormatting](#RtfFormatting--) |  |

## Methods

| Method | Description |
| --- | --- |
| [clone](#clone--) |  |
| [getBackgroundColorIndex](#getBackgroundColorIndex--) | Index of background color from color table. |
| [getFontIndex](#getFontIndex--) | Font index. |
| [getFontSize](#getFontSize--) | Font size. |
| [getForegroundColorIndex](#getForegroundColorIndex--) | Index of foreground color from color table. |
| [getUnicodeCharSkipCount](#getUnicodeCharSkipCount--) | Offset for Unicode character skip. |
| [isBold](#isBold--) | Defines if current content is bold. |
| [isItalic](#isItalic--) | Defines if current content is italic. |
| [isStrikethrough](#isStrikethrough--) | Defines if current content is strikethrough. |
| [isUnderline](#isUnderline--) | Defines if current content is underline. |
| [setBackgroundColorIndex](#setBackgroundColorIndex-int-) | Index of background color from color table. |
| [setBold](#setBold-boolean-) | Defines if current content is bold. |
| [setFontIndex](#setFontIndex-com.aspose.ms.System.Nullable-) | Font index. |
| [setFontSize](#setFontSize-int-) | Font size. |
| [setForegroundColorIndex](#setForegroundColorIndex-int-) | Index of foreground color from color table. |
| [setItalic](#setItalic-boolean-) | Defines if current content is italic. |
| [setStrikethrough](#setStrikethrough-boolean-) | Defines if current content is strikethrough. |
| [setUnderline](#setUnderline-boolean-) | Defines if current content is underline. |
| [setUnicodeCharSkipCount](#setUnicodeCharSkipCount-int-) | Offset for Unicode character skip. |

### RtfFormatting {#RtfFormatting--}
```
public RtfFormatting()
```



### clone {#clone--}
```
public final RtfFormatting clone()
```



### getBackgroundColorIndex {#getBackgroundColorIndex--}
```
public final int getBackgroundColorIndex()
```

Index of background color from color table.

### getFontIndex {#getFontIndex--}
```
public final com.aspose.ms.System.Nullable< Integer > getFontIndex()
```

Font index.

### getFontSize {#getFontSize--}
```
public final int getFontSize()
```

Font size.

### getForegroundColorIndex {#getForegroundColorIndex--}
```
public final int getForegroundColorIndex()
```

Index of foreground color from color table.

### getUnicodeCharSkipCount {#getUnicodeCharSkipCount--}
```
public final int getUnicodeCharSkipCount()
```

Offset for Unicode character skip.

### isBold {#isBold--}
```
public final boolean isBold()
```

Defines if current content is bold.

### isItalic {#isItalic--}
```
public final boolean isItalic()
```

Defines if current content is italic.

### isStrikethrough {#isStrikethrough--}
```
public final boolean isStrikethrough()
```

Defines if current content is strikethrough.

### isUnderline {#isUnderline--}
```
public final boolean isUnderline()
```

Defines if current content is underline.

### setBackgroundColorIndex {#setBackgroundColorIndex-int-}
```
public final void setBackgroundColorIndex(int value)
```

Index of background color from color table.

### setBold {#setBold-boolean-}
```
public final void setBold(boolean value)
```

Defines if current content is bold.

### setFontIndex {#setFontIndex-com.aspose.ms.System.Nullable-}
Font index.

### setFontSize {#setFontSize-int-}
```
public final void setFontSize(int value)
```

Font size.

### setForegroundColorIndex {#setForegroundColorIndex-int-}
```
public final void setForegroundColorIndex(int value)
```

Index of foreground color from color table.

### setItalic {#setItalic-boolean-}
```
public final void setItalic(boolean value)
```

Defines if current content is italic.

### setStrikethrough {#setStrikethrough-boolean-}
```
public final void setStrikethrough(boolean value)
```

Defines if current content is strikethrough.

### setUnderline {#setUnderline-boolean-}
```
public final void setUnderline(boolean value)
```

Defines if current content is underline.

### setUnicodeCharSkipCount {#setUnicodeCharSkipCount-int-}
```
public final void setUnicodeCharSkipCount(int value)
```

Offset for Unicode character skip.
